Human-Farm-Tycoon/Assets/Model/MaisonZombie.cs
Mike 00ac24146f Updated some of our Model Classes.
New Class: Stats (Main class storing our variables for our resources)
Added some buttons and text fields to the scene to show off the functionality of our Stats class.
2015-08-12 16:08:14 -04:00

33 lines
587 B
C#

using UnityEngine;
using System.Collections;
public class MaisonZombie : Maison{
private int nbZombies;
void addZombie(int montant)
{
if (nbZombies < MAX_CARACTERES)
{
//TODO: assign zombie to this house OR decrement houseless zombie
nbZombies++;
}
else
{
//TODO: alert to player: Too many zombies in one house! You must construct additional zombie houses.
}
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}