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(); }
public Comida(GameObject foodObject, int linha, int coluna) { movimentos = new Movimentos(foodObject, linha, coluna); this.FoodObject = foodObject; this.FoodObject.transform.position = movimentos.Posicao(); }
public Comida(GameObject foodObject) { movimentos = new Movimentos(foodObject); FoodObject = foodObject; FoodObject.transform.position = movimentos.Posicao(); }
public Fantasma(GameObject ghostObject, int linha, int coluna) { movimentos = new Movimentos(ghostObject, linha, coluna); this.GhostObject = ghostObject; this.GhostObject.transform.position = movimentos.Posicao(); }
public Fantasma(GameObject ghostObject) { movimentos = new Movimentos(ghostObject); this.GhostObject = ghostObject; this.GhostObject.transform.position = movimentos.Posicao(); }