예제 #1
0
 public Item()
 {
     equiped      = false;
     name         = "";
     requirements = null;
     bonus        = null;
 }
예제 #2
0
 public SaveCharacter()
 {
     location  = new Point(0, 0);
     stats     = new d3vector();
     inventory = new Item[4, 5];
     equip     = new Equipment();
 }
예제 #3
0
 //constructor
 public Item(String Name, d3vector Requirements, Osobini Bonus, int mValue, int value, String img)
 {
     this.img_Path = img;
     this.value    = value;
     this.mValue   = mValue;
     this.equiped  = false;
     name          = Name;
     requirements  = Requirements;
     bonus         = Bonus;
 }
예제 #4
0
 public SaveCharacter(int Level, int Level_progress, Point Location, d3vector Stats, Item[,] Inventory, Equipment Equip, int Unused, int Gold, int health)
 {
     level          = Level;
     level_progress = Level_progress;
     location       = Location;
     stats          = Stats;
     inventory      = Inventory;
     equip          = Equip;
     unused         = Unused;
     gold           = Gold;
     this.health    = health;
 }