public Target(Engine engine) { this.Engine = engine; }
public virtual void Initialize(World world) { this.Engine = world.Engine; world.Entities.Add(this); Entity ent = Engine.World.FindEntitiy(Parent); if (ent == null) { Parent = ""; ParentOffset = new Vector2(0); } else ParentOffset = ent.Position - Position; }