C# 클래스 WarTornLands.World.Level

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

공개 프로퍼티들

프로퍼티 타입 설명
AreaIndependentEntities List
Ute Entity

공개 메소드들

메소드 설명
AddArea ( string name, Area area ) : bool
Clear ( ) : void
Draw ( GameTime gameTime ) : void
GetCurrentAreas ( ) : List
GetEntitiesAt ( Rectangle rect ) : HashSet
GetEntitiesAt ( Vector2 position ) : List
GetEntitiesAt ( Vector2 position, int radius ) : List
IsPositionAccessible ( Vector2 position ) : bool

Queries the Tile Map whether a given pixel position is accessible. Entities are not considered in the collision check. This is done via GetEntitiesAt in the CollisionManager.

IsRectAccessible ( Rectangle rect ) : bool
Level ( ) : System
RemoveArea ( string name ) : bool

비공개 메소드들

메소드 설명
Update ( GameTime gameTime ) : void

메소드 상세

AddArea() 공개 메소드

public AddArea ( string name, Area area ) : bool
name string
area Area
리턴 bool

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Draw() 공개 메소드

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

GetCurrentAreas() 공개 메소드

public GetCurrentAreas ( ) : List
리턴 List

GetEntitiesAt() 공개 메소드

public GetEntitiesAt ( Rectangle rect ) : HashSet
rect Microsoft.Xna.Framework.Rectangle
리턴 HashSet

GetEntitiesAt() 공개 메소드

public GetEntitiesAt ( Vector2 position ) : List
position Vector2
리턴 List

GetEntitiesAt() 공개 메소드

public GetEntitiesAt ( Vector2 position, int radius ) : List
position Vector2
radius int
리턴 List

IsPositionAccessible() 공개 메소드

Queries the Tile Map whether a given pixel position is accessible. Entities are not considered in the collision check. This is done via GetEntitiesAt in the CollisionManager.
public IsPositionAccessible ( Vector2 position ) : bool
position Vector2 Pixel position to check.
리턴 bool

IsRectAccessible() 공개 메소드

public IsRectAccessible ( Rectangle rect ) : bool
rect Microsoft.Xna.Framework.Rectangle
리턴 bool

Level() 공개 메소드

public Level ( ) : System
리턴 System

RemoveArea() 공개 메소드

public RemoveArea ( string name ) : bool
name string
리턴 bool

프로퍼티 상세

AreaIndependentEntities 공개적으로 프로퍼티

public List AreaIndependentEntities
리턴 List

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

public static Entity Ute
리턴 Entity