Exemple #1
0
 public Goomba(Vector2 location) : base(location)
 {
     EnemyState = new LeftMovingGoombaState(this);
     Velocity   = -Vector2.UnitX;
 }
Exemple #2
0
 public Goomba(Vector2 position) : base(position)
 {
     State = new LeftMovingGoombaState(this);
 }