public void ThrowEnemy() { if (EnemyBeingCarried != null) { Game.EventMgr.Notify (Event.ThrowEnemy, EnemyBeingCarried); EnemyBeingCarried = null; } }
public void OnGround(Enemy enemy) { if (VerticalState != VState.Jumping) { SetY (enemy.HitBox.Top - (Dimensions.Height - HitBox.Height)); Velocity.Y = 0; VerticalState = VState.OnGround; } }
public void Pushing(Enemy enemyPushed) { EnemyPushed = enemyPushed; }
public void Lift(Enemy enemy) { if (EnemyBeingCarried == null) EnemyBeingCarried = enemy; }