monopoly/Assets/board.cs
2020-03-02 13:06:46 +00:00

34 lines
689 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
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()
{
}
}