Example #1
0
    public SWIGTYPE_p_OIS__Keyboard GetKeyboard()
    {
        IntPtr cPtr = testPINVOKE.CInputManager_GetKeyboard(swigCPtr);
        SWIGTYPE_p_OIS__Keyboard ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_OIS__Keyboard(cPtr, false);

        return(ret);
    }
Example #2
0
 public virtual void Update(SWIGTYPE_p_f32 elapsedTime, SWIGTYPE_p_OIS__Keyboard Keyboard, SWIGTYPE_p_OIS__Mouse Mouse)
 {
     testPINVOKE.CBuilding_Update(swigCPtr, SWIGTYPE_p_f32.getCPtr(elapsedTime), SWIGTYPE_p_OIS__Keyboard.getCPtr(Keyboard), SWIGTYPE_p_OIS__Mouse.getCPtr(Mouse));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void UpdateAnimationState(SWIGTYPE_p_f32 elapsedTime, SWIGTYPE_p_OIS__Keyboard Keyboard)
 {
     testPINVOKE.CPlayerPimpl_UpdateAnimationState(swigCPtr, SWIGTYPE_p_f32.getCPtr(elapsedTime), SWIGTYPE_p_OIS__Keyboard.getCPtr(Keyboard));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void UpdateMovement(SWIGTYPE_p_f32 elapsedTime, SWIGTYPE_p_OIS__Keyboard Keyboard, SWIGTYPE_p_OIS__Mouse Mouse)
 {
     testPINVOKE.CPlayerPimpl_UpdateMovement(swigCPtr, SWIGTYPE_p_f32.getCPtr(elapsedTime), SWIGTYPE_p_OIS__Keyboard.getCPtr(Keyboard), SWIGTYPE_p_OIS__Mouse.getCPtr(Mouse));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public virtual void OnMove(SWIGTYPE_p_f32 elapsedTime, SWIGTYPE_p_OIS__Keyboard Keyboard)
 {
     testPINVOKE.CPlayer_OnMove(swigCPtr, SWIGTYPE_p_f32.getCPtr(elapsedTime), SWIGTYPE_p_OIS__Keyboard.getCPtr(Keyboard));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 internal static HandleRef getCPtr(SWIGTYPE_p_OIS__Keyboard obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }