Beispiel #1
0
 public GelWalkEast(Gel gel)
 {
     this.gel          = gel;
     gel.initialX      = gel.xPos;
     my_frame_index    = 0;
     delay_frame_index = 0;
 }
 public GelWalkWest(Gel gel)
 {
     this.random       = new System.Random();
     this.gel          = gel;
     gel.initialX      = gel.xPos;
     my_frame_index    = 0;
     delay_frame_index = 0;
 }
Beispiel #3
0
 public GelWalkNorth(Gel gel)
 {
     this.random       = new System.Random();
     this.gel          = gel;
     gel.initialY      = gel.yPos;
     my_frame_index    = 0;
     delay_frame_index = 0;
 }
Beispiel #4
0
        public GelDeath(Gel gel)
        {
            this.gel = gel;

            gel.myGame.collisionManager.removeNPC(gel);
        }