C# 클래스 SimpleSoccer.Net.SoccerPitch

A SoccerPitch is the main game object. It owns instances of two soccer teams, two goals, the playing area, the ball etc. This is the root class for all the game updates and renders etc
파일 보기 프로젝트 열기: soshimozi/SimpleSoccer.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetRegion ( int index ) : Region
Render ( Graphics g ) : void
SoccerPitch ( double width, double height ) : System
Update ( ) : void

비공개 메소드들

메소드 설명
createRegions ( double width, double height ) : void

this instantiates the regions the players utilize to position themselves

메소드 상세

GetRegion() 공개 메소드

public GetRegion ( int index ) : Region
index int
리턴 Region

Render() 공개 메소드

public Render ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

SoccerPitch() 공개 메소드

public SoccerPitch ( double width, double height ) : System
width double
height double
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void