C# Class EssenceShared.Scenes.GameLayer

Inheritance: CocosSharp.CCLayer
Afficher le fichier Open project: Insality/essence-of-shadows

Méthodes publiques

Свойство Type Description
Entities List
Location Locations
MyAccountState AccountState
currentMap List

Méthodes publiques

Méthode Description
AddEntity ( Entity e ) : void
AddEntity ( EntityState es, AccountState accState = null ) : void
AppendGameState ( GameState gs, string playerId ) : void
CreateNewMap ( List tileMap ) : void
DeserializeMap ( string jsonMap ) : void
FindEntityById ( string id ) : Entity
MapSize ( ) : CCSize
RemoveChild ( CCNode child, bool cleanup = true ) : void
SerializeMap ( ) : string
TileAt ( int x, int y ) : string
Update ( float dt ) : void
UpdateEntity ( EntityState es ) : void

Private Methods

Méthode Description
UpdateCollisions ( ) : void

Method Details

AddEntity() public méthode

public AddEntity ( Entity e ) : void
e Entity
Résultat void

AddEntity() public méthode

public AddEntity ( EntityState es, AccountState accState = null ) : void
es EntityState
accState AccountState
Résultat void

AppendGameState() public méthode

public AppendGameState ( GameState gs, string playerId ) : void
gs GameState
playerId string
Résultat void

CreateNewMap() public méthode

public CreateNewMap ( List tileMap ) : void
tileMap List
Résultat void

DeserializeMap() public méthode

public DeserializeMap ( string jsonMap ) : void
jsonMap string
Résultat void

FindEntityById() public méthode

public FindEntityById ( string id ) : Entity
id string
Résultat Entity

MapSize() public méthode

public MapSize ( ) : CCSize
Résultat CCSize

RemoveChild() public méthode

public RemoveChild ( CCNode child, bool cleanup = true ) : void
child CCNode
cleanup bool
Résultat void

SerializeMap() public méthode

public SerializeMap ( ) : string
Résultat string

TileAt() public méthode

public TileAt ( int x, int y ) : string
x int
y int
Résultat string

Update() public méthode

public Update ( float dt ) : void
dt float
Résultat void

UpdateEntity() public méthode

public UpdateEntity ( EntityState es ) : void
es EntityState
Résultat void

Property Details

Entities public_oe property

public List Entities
Résultat List

Location public_oe property

public Locations Location
Résultat Locations

MyAccountState public_oe property

public AccountState MyAccountState
Résultat AccountState

currentMap public_oe property

public List currentMap
Résultat List