monopoly/Assets/board.cs
Anthony Berg 89c0cee1ce psuh
2020-06-19 17:40:42 +01:00

39 lines
857 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static properties;
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<properties.Property> cards = new List<properties.Property>;
Property cards = new Property("test", "test", 200, 400);
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()
{
}
}