public ShellState(GKoopaStateMachine sm, EnemyEntity enemy) : base(sm, enemy) { delay = 10; Velocity = Vector2.Zero; Animation = new GreenShell(); }
public GreenShell1(ContentManager content) : base(content) { FrameCountX = 5; FrameCountY = 2; SpriteTexture = content.Load <Texture2D>("shell"); FrameWidth = this.SpriteTexture.Width / this.FrameCountX; FrameHeight = this.SpriteTexture.Height / this.FrameCountY; this.Position = Vector2.Zero; Origin = new Vector2(0f, FrameHeight); Animation = new GreenShell(); }
public InactiveGKoopaState(GKoopaStateMachine sm, EnemyEntity enemy) : base(sm, enemy) { Animation = new GreenShell(); }