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