C# 클래스 Sparrow.Core.AndroidViewController

The device-specific base class for a Sparrow project. Note that this class contains device specific functionality, so if you override a function its likely that you will need to define platform specific behaviour using //#ifdefs
상속: AndroidGameView
파일 보기 프로젝트 열기: fmotagarcia/sparrow-sharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AndroidContext Android.Content.Context

공개 메소드들

메소드 설명
AndroidViewController ( Android context, Type rootClass ) : System
OnTouchEvent ( Android.Views.MotionEvent e ) : bool

This function handles touch events. It is responsible for maintaining the currently active touch events and dispatching events. For details see http://developer.android.com/reference/android/view/View.html#onTouchEvent(android.view.MotionEvent)

보호된 메소드들

메소드 설명
CreateFrameBuffer ( ) : void
DestroyFrameBuffer ( ) : void
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void

비공개 메소드들

메소드 설명
Setup ( Android context ) : void

메소드 상세

AndroidViewController() 공개 메소드

public AndroidViewController ( Android context, Type rootClass ) : System
context Android
rootClass System.Type
리턴 System

CreateFrameBuffer() 보호된 메소드

protected CreateFrameBuffer ( ) : void
리턴 void

DestroyFrameBuffer() 보호된 메소드

protected DestroyFrameBuffer ( ) : void
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnRenderFrame() 보호된 메소드

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
리턴 void

OnResize() 보호된 메소드

protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnTouchEvent() 공개 메소드

This function handles touch events. It is responsible for maintaining the currently active touch events and dispatching events. For details see http://developer.android.com/reference/android/view/View.html#onTouchEvent(android.view.MotionEvent)
public OnTouchEvent ( Android.Views.MotionEvent e ) : bool
e Android.Views.MotionEvent
리턴 bool

프로퍼티 상세

AndroidContext 공개적으로 정적으로 프로퍼티

public static Android.Content.Context AndroidContext
리턴 Android.Content.Context