Ejemplo n.º 1
0
 public Pacman(GameObject pacmanObject, int linhaInicial, int colunaInicial)
 {
     movimentos         = new Movimentos(pacmanObject, linhaInicial, colunaInicial);
     this.linhaInicial  = linhaInicial;
     this.colunaInicial = colunaInicial;
     PacmanObject       = pacmanObject;
     PacmanObject.transform.position = movimentos.Posicao();
 }
Ejemplo n.º 2
0
 public Comida(GameObject foodObject, int linha, int coluna)
 {
     movimentos      = new Movimentos(foodObject, linha, coluna);
     this.FoodObject = foodObject;
     this.FoodObject.transform.position = movimentos.Posicao();
 }
Ejemplo n.º 3
0
 public Comida(GameObject foodObject)
 {
     movimentos = new Movimentos(foodObject);
     FoodObject = foodObject;
     FoodObject.transform.position = movimentos.Posicao();
 }
Ejemplo n.º 4
0
 public Fantasma(GameObject ghostObject, int linha, int coluna)
 {
     movimentos       = new Movimentos(ghostObject, linha, coluna);
     this.GhostObject = ghostObject;
     this.GhostObject.transform.position = movimentos.Posicao();
 }
Ejemplo n.º 5
0
 public Fantasma(GameObject ghostObject)
 {
     movimentos       = new Movimentos(ghostObject);
     this.GhostObject = ghostObject;
     this.GhostObject.transform.position = movimentos.Posicao();
 }