Beispiel #1
0
 public override void OnEnter()
 {
     _enemy.EnemyAnimation.Color = Color.Red;
     _enemy.Movement             = SinusoidaleMovement.Create(_enemy.Position, 0, 180f, 10f);
 }
Beispiel #2
0
 protected override void Fire(GameTime gameTime)
 {
     _game.AddLaser(SinusoidaleMovement.Create(_entity.Position, -10f, -10, 20), _collisionLayers);
     _game.AddLaser(SinusoidaleMovement.Create(_entity.Position, -10f, 10, 20), _collisionLayers);
 }