C# Class Pokemon3D.Entities.World

Show file Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
CreateEntitiesFromFragment ( MapFragmentModel model, Vector3 position ) : List
LoadMap ( string id, double x, double y, double z ) : void
PlaceEntities ( EntityFieldModel entityDefinition, EntityFieldPositionModel entityPlacing, Vector3 offset ) : List
StartNewGameAsync ( System.Action onFinished ) : void
Update ( GameTime gameTime ) : void
World ( ) : System

Private Methods

Method Description
ActivateMap ( string id, Vector3 position ) : Map
ActivateMapsWithOffsets ( string id, Vector3 position ) : void
CreateEntityFromDataModel ( EntityModel entityModel, EntityFieldPositionModel entityPlacing, Vector3 position ) : System.Entity
LoadWorldAsync ( ) : void

Method Details

CreateEntitiesFromFragment() public method

public CreateEntitiesFromFragment ( MapFragmentModel model, Vector3 position ) : List
model MapFragmentModel
position Vector3
return List

LoadMap() public method

public LoadMap ( string id, double x, double y, double z ) : void
id string
x double
y double
z double
return void

PlaceEntities() public method

public PlaceEntities ( EntityFieldModel entityDefinition, EntityFieldPositionModel entityPlacing, Vector3 offset ) : List
entityDefinition EntityFieldModel
entityPlacing EntityFieldPositionModel
offset Vector3
return List

StartNewGameAsync() public method

public StartNewGameAsync ( System.Action onFinished ) : void
onFinished System.Action
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

World() public method

public World ( ) : System
return System