예제 #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);
    }