C# 클래스 BodyTetrisWrapper.Program

파일 보기 프로젝트 열기: NBLANCHE/Project

공개 프로퍼티들

프로퍼티 타입 설명
GameID int

공개 메소드들

메소드 설명
Countdown ( int timeRemaining ) : void
GameStart ( ) : void
Holding ( int player ) : void
HoldingFail ( int player ) : void
PersonMissing ( ) : void
PlayerStatus ( float p1z, float p2z, IntPtr players ) : void
RoundStart ( int goalShape, int orientation, IntPtr goalShapeStatus ) : void
SaveJPG ( byte pixels, int w, int h, string Filename ) : int
SaveWholePicture ( IntPtr ptr ) : int
ShapeCompleted ( int winner, int scoreP1, int scoreP2 ) : void
ShapeStatus ( int shape1, int shape2 ) : void
SkeletonLog ( IntPtr ptr ) : int
Timeout ( ) : void
TweetPicture ( int shape, int ori, int w, int h, int squareSize, IntPtr ptr ) : int
makeBlockImage ( byte pixels, int w, int h, string Filename ) : void
makeFullImage ( byte pixels, int w, int h, string Filename ) : void

비공개 메소드들

메소드 설명
Main ( string args ) : void
SetUpOSCPort ( ) : void
allocGlobal ( int size ) : IntPtr
endGame ( ) : void
numericCommand ( int cmd ) : int
openKinectWindow ( ) : void
setOSCEvents ( IntNPtrPassFunc RoundStart, IntFunc Countdown, IntFunc Holding, IntFunc HoldFail, VoidFunc Timeout, ThreeIntFunc ShapeCompleted, TwoIntFunc ShapeStatus, PlayerStatusFunc PlayerStatus ) : int
setTweetback ( AllocFunc allocGlobal, TweetFunc tweetBack, PtrPassFunc saveFullPicture, PtrPassFunc SkeletonLog ) : int
startGame ( int GameID, int gameLengthS ) : void

메소드 상세

Countdown() 공개 정적인 메소드

public static Countdown ( int timeRemaining ) : void
timeRemaining int
리턴 void

GameStart() 공개 정적인 메소드

public static GameStart ( ) : void
리턴 void

Holding() 공개 정적인 메소드

public static Holding ( int player ) : void
player int
리턴 void

HoldingFail() 공개 정적인 메소드

public static HoldingFail ( int player ) : void
player int
리턴 void

PersonMissing() 공개 정적인 메소드

public static PersonMissing ( ) : void
리턴 void

PlayerStatus() 공개 정적인 메소드

public static PlayerStatus ( float p1z, float p2z, IntPtr players ) : void
p1z float
p2z float
players System.IntPtr
리턴 void

RoundStart() 공개 정적인 메소드

public static RoundStart ( int goalShape, int orientation, IntPtr goalShapeStatus ) : void
goalShape int
orientation int
goalShapeStatus System.IntPtr
리턴 void

SaveJPG() 공개 정적인 메소드

public static SaveJPG ( byte pixels, int w, int h, string Filename ) : int
pixels byte
w int
h int
Filename string
리턴 int

SaveWholePicture() 공개 정적인 메소드

public static SaveWholePicture ( IntPtr ptr ) : int
ptr System.IntPtr
리턴 int

ShapeCompleted() 공개 정적인 메소드

public static ShapeCompleted ( int winner, int scoreP1, int scoreP2 ) : void
winner int
scoreP1 int
scoreP2 int
리턴 void

ShapeStatus() 공개 정적인 메소드

public static ShapeStatus ( int shape1, int shape2 ) : void
shape1 int
shape2 int
리턴 void

SkeletonLog() 공개 정적인 메소드

public static SkeletonLog ( IntPtr ptr ) : int
ptr System.IntPtr
리턴 int

Timeout() 공개 정적인 메소드

public static Timeout ( ) : void
리턴 void

TweetPicture() 공개 정적인 메소드

public static TweetPicture ( int shape, int ori, int w, int h, int squareSize, IntPtr ptr ) : int
shape int
ori int
w int
h int
squareSize int
ptr System.IntPtr
리턴 int

makeBlockImage() 공개 정적인 메소드

public static makeBlockImage ( byte pixels, int w, int h, string Filename ) : void
pixels byte
w int
h int
Filename string
리턴 void

makeFullImage() 공개 정적인 메소드

public static makeFullImage ( byte pixels, int w, int h, string Filename ) : void
pixels byte
w int
h int
Filename string
리턴 void

프로퍼티 상세

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

public static int GameID
리턴 int