Newer
Older
fall / FallUnity / Assets / Leaves / LeafHandler.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LeafHandler : MonoBehaviour {
    private int numLeaves = 0;
    public int NumLeaves { get { return numLeaves; } }
    public int MaxLeaves = 700;

    public void AddLeaf()
    {
        numLeaves++;
    }

    public void RemoveLeaf()
    {
        numLeaves--;
    }
    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}