Ejemplo n.º 1
0
        public override void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager)
        {
            base.Setup(teamColor, imageColor, pieceManager);

            movement = new Vector3Int(0, 0, 7);
        }
Ejemplo n.º 2
0
        public override void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager)
        {
            base.Setup(teamColor, imageColor, pieceManager);

            movement = TeamColor == Color.white ? new Vector3Int(0, 1, 1) : new Vector3Int(0, -1, -1);
        }
Ejemplo n.º 3
0
 public virtual void Setup(Color teamColor, Color32 imageColor, PieceManager pieceManager)
 {
     _pieceManager = pieceManager;
     TeamColor     = teamColor;
     GetComponent <Image>().color = imageColor;
 }