C# 클래스 RaceGame.Map

상속: IMap
파일 보기 프로젝트 열기: cjohnsson/Racing-Game 1 사용 예제들

공개 메소드들

메소드 설명
DrawBackground ( SpriteBatch spriteBatch ) : void
DrawForeground ( SpriteBatch spriteBatch ) : void
Map ( Microsoft.Xna.Framework.Graphics.Texture2D backgroundImage, Microsoft.Xna.Framework.Graphics.Texture2D foregroundImage, Bitmap collisionImage, ITexture2DHolder cloudImage, int startX, int startY, float startRotation ) : System
Update ( ) : void

메소드 상세

DrawBackground() 공개 메소드

public DrawBackground ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

DrawForeground() 공개 메소드

public DrawForeground ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Map() 공개 메소드

public Map ( Microsoft.Xna.Framework.Graphics.Texture2D backgroundImage, Microsoft.Xna.Framework.Graphics.Texture2D foregroundImage, Bitmap collisionImage, ITexture2DHolder cloudImage, int startX, int startY, float startRotation ) : System
backgroundImage Microsoft.Xna.Framework.Graphics.Texture2D
foregroundImage Microsoft.Xna.Framework.Graphics.Texture2D
collisionImage System.Drawing.Bitmap
cloudImage ITexture2DHolder
startX int
startY int
startRotation float
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void