예제 #1
0
        public FlippedGoombaState(Goomba goomba)
        {
            this.goomba = goomba;

            this.goomba.Physics.yPosition    += 2;
            this.goomba.Physics.yAcceleration = Config.GetGravity();
        }
예제 #2
0
 public RightMovingGoombaState(Goomba goomba)
 {
     this.goomba = goomba;
 }
예제 #3
0
 public StompedGoombaState(Goomba goomba)
 {
     this.goomba = goomba;
 }
예제 #4
0
 public LeftMovingGoombaState(Goomba goomba)
 {
     this.goomba = goomba;
 }