Esempio n. 1
0
    public override State Execute()
    {
        UI_Object item = DeviceToRelease.GetComponent <UI_Object> ();

        item.Action();
        return(State.Suceeded);
    }
Esempio n. 2
0
    public override State Execute()
    {
        UI_Object item = ItemToTake.GetComponent <UI_Object> ();

        item.Action();
        item.ChangeState();
        return(State.Suceeded);
    }
Esempio n. 3
0
    public override State Execute()
    {
        UI_Object item = ItemToRelease.GetComponent <UI_Object> ();

        item.Action();
        item.ChangeState();
        item.PutItemAt(x, y, z);

        return(State.Suceeded);
    }