from enum import IntFlag


class SystemFlag(IntFlag):
    controller = 1
    movement = 2
    graphics = 4
    collision = 8
    logic = 16
    state = 32

from enum import IntFlag


class SystemFlag(IntFlag):
    controller = 1
    movement = 2
    graphics = 4
    collision = 8
    logic = 16
    state = 32
    blood = 64

Fix flags bug hasattr returns True if the attribute is None
Fix flags bug hasattr returns True if the attribute is None

Use forward references for type hinting in entity
