示例#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);
    }
示例#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);
    }
示例#3
0
 public Type GetActionType()
 {
     return(action.GetType());
 }