C# 클래스 RaceGame.Player

Class used to make multiple players and hold individual information
파일 보기 프로젝트 열기: cjohnsson/Racing-Game 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
Player ( Control control, ITexture2DHolder carImage, System.Vector2 position, float startRotation ) : System
Update ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch SpriteBatch
리턴 void

Player() 공개 메소드

public Player ( Control control, ITexture2DHolder carImage, System.Vector2 position, float startRotation ) : System
control Control
carImage ITexture2DHolder
position System.Vector2
startRotation float
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void