C# 클래스 _1942.LevelLoader

파일 보기 프로젝트 열기: Hoobler/Projekt1 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
cameraPosition Vector2

공개 메소드들

메소드 설명
Draw ( SpriteBatch spritebatch ) : void
HighScoreScreen ( ) : bool
LevelHasEnded ( ) : bool
LevelLoader ( string TheLevelFile, Microsoft.Xna.Framework.Content.ContentManager content ) : System
LoadMap ( string levelName, Microsoft.Xna.Framework.Content.ContentManager content ) : void

The method used for loading a level, this method also calls the UnLoadLevel metod that clears all the lists prior to loading in the new level

MoveCamera ( float moved ) : void
TileSize ( ) : int
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
LoadLevel ( XmlReader reader, Microsoft.Xna.Framework.Content.ContentManager content ) : void
LoadLevelFile ( string LevelFile, Microsoft.Xna.Framework.Content.ContentManager content ) : void
LoadTexture ( XmlReader reader, Microsoft.Xna.Framework.Content.ContentManager content, char tempChar, bool hFlip, bool vFlip, bool animated, int frames ) : void
LoadTile ( string texturefile, Microsoft.Xna.Framework.Content.ContentManager content ) : void
StartingCameraPos ( ) : int
UnLoadLevel ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spritebatch ) : void
spritebatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

HighScoreScreen() 공개 메소드

public HighScoreScreen ( ) : bool
리턴 bool

LevelHasEnded() 공개 메소드

public LevelHasEnded ( ) : bool
리턴 bool

LevelLoader() 공개 메소드

public LevelLoader ( string TheLevelFile, Microsoft.Xna.Framework.Content.ContentManager content ) : System
TheLevelFile string
content Microsoft.Xna.Framework.Content.ContentManager
리턴 System

LoadMap() 공개 메소드

The method used for loading a level, this method also calls the UnLoadLevel metod that clears all the lists prior to loading in the new level
public LoadMap ( string levelName, Microsoft.Xna.Framework.Content.ContentManager content ) : void
levelName string The name of the level to be loaded
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

MoveCamera() 공개 메소드

public MoveCamera ( float moved ) : void
moved float
리턴 void

TileSize() 공개 메소드

public TileSize ( ) : int
리턴 int

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

cameraPosition 공개적으로 프로퍼티

public Vector2 cameraPosition
리턴 Vector2