-
Notifications
You must be signed in to change notification settings - Fork 0
Scripts
ldstrumpet edited this page Feb 3, 2015
·
17 revisions
###Interfaces
public class Item {
// These variables are set by Unity
public int MAX_DURABILITY;
public int durability;
public int size;
public void OnUse() {}
public void decreaseDurability() {this.durability--;}
}public class Person {
// These variables are set by Unity
public MAX_HEALTH;
public currentHealth;
public Inventory inventory;
public void onUpdate() {}
public void onTime() {}
}public class Inventory{
// These variables are set by Unity
public capacity;
public void takeItem() {}
public void removeItem() {}
}Home | Design | The Team | Team Deliverables