Exemple #1
0
        public Pacman( pacman.Map m , int a , int b, int c)
        {
            this.actualLevel = a;
            this.actualLives = b;
            this.actualScore = c;
            this.position = m.GetStartPosition();
            this.mapa = m;
            this.direction = Direction.right;

            PacmanLoadICon ();
        }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     playe = GameObject.Find("player").GetComponent <pacman>();
 }
Exemple #3
0
 public void PacmanHit(pacman _pacman)
 {
     m_livesTracker.UpdateLives();
     m_audioManager.StopBackgroundAudio();
     StartCoroutine(PacmanDeathSequance(2.0f));
 }
Exemple #4
0
 private void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player").GetComponent <pacman>();
     UpdateLives();
 }
Exemple #5
0
 void Start()
 {
     Target = GameObject.FindWithTag("pacman").transform;
     pc     = GameObject.FindWithTag("pacman").GetComponent <pacman>();
 }