Ejemplo n.º 1
0
 public void NodeTouched()
 {
     scarabImage.sprite = _silverScarab;
     _theState          = new NodeTouchedState();
     _theState.Execute(this);
 }
Ejemplo n.º 2
0
 public void NodeActive()
 {
     scarabImage.sprite = _goldScarab;
     _theState          = new NodeActiveState();
     _theState.Execute(this);
 }
Ejemplo n.º 3
0
 public void NodeUntouched()
 {
     scarabImage.sprite = _stoneScarab;
     _theState          = new NodeUntouchedState();
     _theState.Execute(this);
 }