Пример #1
0
 public Seed(GameData.plantType _type, Sprite _icon, int _range, Dictionary <Put, Put> _puts)
 {
     type  = _type;
     icon  = _icon;
     range = _range;
     puts  = _puts;
 }
Пример #2
0
 public Plant(PlantBase _plantBase)
 {
     plantBase = _plantBase;
     type      = plantBase.type;
     inputs    = plantBase.ArrayToDictionary(plantBase.editorInputs);
     outputs   = plantBase.ArrayToDictionary(plantBase.editorOutputs);
     HP        = plantBase.HP;
 }