public KillIntent(InputManager inputManager, Camera c, Player p, Enemy e) : base(inputManager, c, p, e.Rectangle) { enemy = e; goToIntent = new GoToIntent(inputManager, c, p, e.Rectangle); }
public TeleportIntent(InputManager im, Camera c, Player p, Rectangle r, Vector2 positionToTp) : base(im, c, p, r) { goToIntent = new GoToIntent(im, c, p, Rectangle); positionToTeleport = positionToTp; }