Beispiel #1
0
    public PrizeView(AbstractPrize prize, TileBase view, BoardView boardView)
    {
        Prize          = prize;
        View           = view;
        this.boardView = boardView;

        prize.OnCollect += HidePrize;
    }
 public WalkableBoardTile(Vector position, AbstractPrize prize, List <Vector> forbiddenMovementDirections) : base(position)
 {
     Prize = prize;
     ForbiddenMovementDirections = forbiddenMovementDirections ?? new List <Vector>();
 }