C# Class LocalMap, planet-survival

Inheritance: Map
显示文件 Open project: gjrfytn/planet-survival Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
AddObject ( Entity, obj ) : void
Deactivate ( ) : void
GetAllLivingBeings ( ) : List
GetBlockMatrix ( ) : ].bool[
IsBlocked ( U16Vec2, coords ) : bool
LocalMap ( ushort width, ushort height ) : System.Collections.Generic
Read ( SymBinaryReader reader ) : void
Write ( BinaryWriter writer ) : void

Private Methods

Method Description
MoveObject ( U16Vec2, from, U16Vec2, to ) : void
RemoveObject ( Entity, e ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

AddObject() public method

public AddObject ( Entity, obj ) : void
obj Entity,
return void

Deactivate() public method

public Deactivate ( ) : void
return void

GetAllLivingBeings() public method

public GetAllLivingBeings ( ) : List
return List

GetBlockMatrix() public method

public GetBlockMatrix ( ) : ].bool[
return ].bool[

IsBlocked() public method

public IsBlocked ( U16Vec2, coords ) : bool
coords U16Vec2,
return bool

LocalMap() public method

public LocalMap ( ushort width, ushort height ) : System.Collections.Generic
width ushort
height ushort
return System.Collections.Generic

Read() public method

public Read ( SymBinaryReader reader ) : void
reader SymBinaryReader
return void

Write() public method

public Write ( BinaryWriter writer ) : void
writer BinaryWriter
return void