Exemplo n.º 1
0
        public static UIActionCallback DispatchAction(DUIEntity _owner, Action_Request_Type _type)
        {
            iAction _action = m_ActionSet.GetEntity((int)_type);

            _action.Excute(_owner);
            return(_action.OnFinish);
        }
Exemplo n.º 2
0
 public UIActionRequest(DUIEntity _owner, Action_Request_Type _type, float _during)
 {
     ActionOwner  = _owner;
     ActionType   = _type;
     ActionDuring = _during;
 }
Exemplo n.º 3
0
 public UIActionRequest(DUIEntity _owner, Action_Request_Type _type)
 {
     ActionOwner  = _owner;
     ActionType   = _type;
     ActionDuring = _owner.AnimationDuring;
 }
Exemplo n.º 4
0
 public static void UnregistAction(Action_Request_Type _type)
 {
     m_ActionSet.RemoveEntity((int)_type);
 }
Exemplo n.º 5
0
 public static void RegistAction(Action_Request_Type _type, iAction _action)
 {
     m_ActionSet.AddEntity((int)_type, _action);
 }