Exemplo n.º 1
0
 public Pacman(Vector2 pos, string textureName)
 {
     this.TextureName           = textureName;
     this.Position              = pos;
     this.IsAlive               = true;
     this.Speed                 = 2f;
     this.pacmanAnimation       = new PacmanDraw();
     this.IsGameOver            = false;
     this.IsSpeedUp             = false;
     this.IsReady               = false;
     this.Dots150Eat            = false;
     this.Dots50Eat             = false;
     this.IsReset               = false;
     this.IsReload              = false;
     this.GhostDestroyedCounter = 0;
     this.ready                 = new Ready(150);
     this.GhostModeTimer        = new Timer(5040);
 }
Exemplo n.º 2
0
 public InterMission()
 {
     this.ready = new Ready(150);
     this.timer = new Timer(120);
     this.Reset();
 }
Exemplo n.º 3
0
 public Intro()
 {
     this.IsAlive        = true;
     this.IsSpacePressed = false;
     this.Ready          = new Ready(150);
 }