Fixed the list for all the properties

This commit is contained in:
smyalygames 2020-03-09 10:49:50 +00:00
parent 33834069d3
commit cf686d8cd1

View File

@ -1,7 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using properties;
public class board : MonoBehaviour
{
@ -10,7 +9,7 @@ public class board : MonoBehaviour
{
public int houses; //Initialising houses
public int hotels; //Initialising hotels
List<properties.Property> cards = new List<properties.Property>;
List<Property> cards = new List<Property>();
public Board()
{
@ -19,6 +18,8 @@ public class board : MonoBehaviour
}
}
// Start is called before the first frame update