monopoly/Assets/board.cs
2020-03-09 10:49:50 +00:00

37 lines
744 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class board : MonoBehaviour
{
public class Board //Creating the class for the board mechanics.
{
public int houses; //Initialising houses
public int hotels; //Initialising hotels
List<Property> cards = new List<Property>();
public Board()
{
houses = 32; //Defining the amount of houses - They have a finite amount
hotels = 12; //Defining the amount of hotels - They have a finite amount
}
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}