extends RefCounted enum TargetType{ PLAYER = 1 << 0, # 1 0001 ENEMY = 1 << 1, # 2 0010 OBJECT = 1 << 2, # 4 0100 }