Example #1
0
 public void StartProduce(float t, ProductType type)
 {
     wait_icon_anim = false;
     cur_type       = type;
     cur_state      = new ProcessState(gameObject, t);
     cur_state.StartState();
 }
Example #2
0
 public void Ready()
 {
     cur_state = new ReadyState(gameObject);
     cur_state.StartState();
 }
Example #3
0
 public void Start()
 {
     cur_type  = ProductType.NONE;
     cur_state = new EmptyState(gameObject);
     cur_state.StartState();
 }