C# 클래스 WarTornLands.World.Area

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

공개 프로퍼티들

프로퍼티 타입 설명
TileSets TileSetBox

공개 메소드들

메소드 설명
AddEntityLayer ( WarTornLands.World.Layers.EntityLayer layer ) : void
AddHighLayer ( TileLayer layer ) : void
AddLowLayer ( TileLayer layer ) : void
Area ( Rectangle bounds, string name, string id, bool isDungeon ) : System
Contains ( Rectangle rect ) : bool
Contains ( Vector2 position ) : bool
GetEntitiesAt ( Rectangle rect ) : HashSet
GetEntitiesAt ( Vector2 position ) : List
GetEntitiesAt ( Vector2 position, int radius ) : List
IsRectAccessible ( Rectangle rect ) : bool

비공개 메소드들

메소드 설명
CopyRec ( Rectangle original ) : Rectangle
Draw ( GameTime gameTime ) : void
GetAllEntities ( ) : List
IsPositionAccessible ( Vector2 position ) : bool
Update ( GameTime gameTime ) : void

메소드 상세

AddEntityLayer() 공개 메소드

public AddEntityLayer ( WarTornLands.World.Layers.EntityLayer layer ) : void
layer WarTornLands.World.Layers.EntityLayer
리턴 void

AddHighLayer() 공개 메소드

public AddHighLayer ( TileLayer layer ) : void
layer WarTornLands.World.Layers.TileLayer
리턴 void

AddLowLayer() 공개 메소드

public AddLowLayer ( TileLayer layer ) : void
layer WarTornLands.World.Layers.TileLayer
리턴 void

Area() 공개 메소드

public Area ( Rectangle bounds, string name, string id, bool isDungeon ) : System
bounds Microsoft.Xna.Framework.Rectangle
name string
id string
isDungeon bool
리턴 System

Contains() 공개 메소드

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

Contains() 공개 메소드

public Contains ( Vector2 position ) : bool
position Vector2
리턴 bool

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

IsRectAccessible() 공개 메소드

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

프로퍼티 상세

TileSets 공개적으로 프로퍼티

public TileSetBox,WarTornLands.World TileSets
리턴 TileSetBox