Esempio n. 1
0
    public void SetAction(AbstractPCAction action)
    {
        if (this.action != null && action != null && this.action.GetType() == action.GetType()) {
            return;
        }

        this.action = action;
        action.SetPC(this);
    }
Esempio n. 2
0
    public void SetAction(AbstractPCAction action)
    {
        if (this.action != null && action != null && this.action.GetType() == action.GetType())
        {
            return;
        }

        this.action = action;
        action.SetPC(this);
    }
Esempio n. 3
0
 public Type GetActionType()
 {
     return(action.GetType());
 }