Example #1
0
 public ShellState(GKoopaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     delay     = 10;
     Velocity  = Vector2.Zero;
     Animation = new GreenShell();
 }
Example #2
0
        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();
        }
Example #3
0
 public InactiveGKoopaState(GKoopaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     Animation = new GreenShell();
 }