Exemple #1
0
 protected override void Awake()
 {
     base.Awake();
     _image       = GetComponent <Image>();
     _startColor  = _image.color;
     CurrentState = CurrentStateEnum.BuildFarm;
 }
Exemple #2
0
 public void ChangeValues(CurrentStateEnum currentStateEnum, FieldTypeEnum fieldTypeEnum)
 {
     CurrentState = currentStateEnum;
     FieldType    = fieldTypeEnum;
 }
Exemple #3
0
 public void ResetSate()
 {
     CurrentState = CurrentStateEnum.Empty;
     FieldType    = FieldTypeEnum.Nothing;
 }
Exemple #4
0
 public void ChangeValues(NodeState nodeState)
 {
     CurrentState = nodeState.CurrentState;
     FieldType    = nodeState.FieldType;
 }