Example #1
0
    public SWIGTYPE_p_OIS__Mouse GetMouse()
    {
        IntPtr cPtr = testPINVOKE.CInputManager_GetMouse(swigCPtr);
        SWIGTYPE_p_OIS__Mouse ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_OIS__Mouse(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();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_OIS__Mouse obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
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();
     }
 }