C# 클래스 Shooter2D.Map

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

공개 프로퍼티들

프로퍼티 타입 설명
Bullets List
Camera EzGame.Perspective.Planar.Camera
Pathfinder Pathfinder
Speed Vector2
Tiles ].Tile[
Waypoints List[]

공개 메소드들

메소드 설명
AFore ( Point Point ) : ushort
BFore ( Point Point ) : ushort
ClearBack ( int x, int y, bool Self = false ) : bool
ClearFore ( int x, int y, bool Self = false ) : bool
Draw ( ) : void
Draw ( Batch Batch ) : void
GetSpawn ( byte Team ) : Point
GetWaypoint ( byte Team ) : Point
InBounds ( int x, int y ) : bool
LFore ( Point Point ) : ushort
Load ( string Path ) : Map
Map ( int Width, int Height ) : System
OffCamera ( int x, int y, sbyte Offset ) : bool
PlaceBack ( byte ID, int x, int y, bool Self = false ) : bool
PlaceFore ( byte ID, int x, int y, byte Angle = null, bool Self = false ) : bool
RFore ( Point Point ) : ushort
Save ( string Path ) : void
Update ( GameTime Time ) : void

메소드 상세

AFore() 공개 메소드

public AFore ( Point Point ) : ushort
Point Point
리턴 ushort

BFore() 공개 메소드

public BFore ( Point Point ) : ushort
Point Point
리턴 ushort

ClearBack() 공개 메소드

public ClearBack ( int x, int y, bool Self = false ) : bool
x int
y int
Self bool
리턴 bool

ClearFore() 공개 메소드

public ClearFore ( int x, int y, bool Self = false ) : bool
x int
y int
Self bool
리턴 bool

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( Batch Batch ) : void
Batch EzGame.Perspective.Planar.Batch
리턴 void

GetSpawn() 공개 메소드

public GetSpawn ( byte Team ) : Point
Team byte
리턴 Point

GetWaypoint() 공개 메소드

public GetWaypoint ( byte Team ) : Point
Team byte
리턴 Point

InBounds() 공개 메소드

public InBounds ( int x, int y ) : bool
x int
y int
리턴 bool

LFore() 공개 메소드

public LFore ( Point Point ) : ushort
Point Point
리턴 ushort

Load() 공개 정적인 메소드

public static Load ( string Path ) : Map
Path string
리턴 Map

Map() 공개 메소드

public Map ( int Width, int Height ) : System
Width int
Height int
리턴 System

OffCamera() 공개 메소드

public OffCamera ( int x, int y, sbyte Offset ) : bool
x int
y int
Offset sbyte
리턴 bool

PlaceBack() 공개 메소드

public PlaceBack ( byte ID, int x, int y, bool Self = false ) : bool
ID byte
x int
y int
Self bool
리턴 bool

PlaceFore() 공개 메소드

public PlaceFore ( byte ID, int x, int y, byte Angle = null, bool Self = false ) : bool
ID byte
x int
y int
Angle byte
Self bool
리턴 bool

RFore() 공개 메소드

public RFore ( Point Point ) : ushort
Point Point
리턴 ushort

Save() 공개 메소드

public Save ( string Path ) : void
Path string
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

Bullets 공개적으로 프로퍼티

public List Bullets
리턴 List

Camera 공개적으로 프로퍼티

public Camera,EzGame.Perspective.Planar Camera
리턴 EzGame.Perspective.Planar.Camera

Pathfinder 공개적으로 프로퍼티

public Pathfinder Pathfinder
리턴 Pathfinder

Speed 공개적으로 프로퍼티

public Vector2 Speed
리턴 Vector2

Tiles 공개적으로 프로퍼티

public Tile[,] Tiles
리턴 ].Tile[

Waypoints 공개적으로 프로퍼티

public List[] Waypoints
리턴 List[]