mirror of
https://github.com/smyalygames/monopoly.git
synced 2025-05-18 14:24:12 +02:00
37 lines
744 B
C#
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()
|
|
{
|
|
|
|
}
|
|
}
|