C# 클래스 Geowigo.Models.WFCoreAdapter

상속: Engine
파일 보기 프로젝트 열기: WFoundation/WF.Player.WinPhone 1 사용 예제들

공개 메소드들

메소드 설명
InitAndRestoreCartridge ( string filename, string gwsFilename ) : WF.Player.Core.Cartridge

Resumes playing a Wherigo cartridge saved game.

InitAndRestoreCartridgeAsync ( string filename, string gwsFilename ) : Task

Resumes playing a Wherigo cartridge saved game asynchronously.

InitAndStartCartridge ( string filename ) : WF.Player.Core.Cartridge

Starts to play a Wherigo cartridge game.

InitAndStartCartridgeAsync ( string filename ) : Task

Starts to play a Wherigo cartridge game asynchronously.

Save ( CartridgeSavegame cs ) : void

Saves the game to a CartridgeSavegame object.

SaveAsync ( CartridgeSavegame cs ) : System.Threading.Tasks.Task

Saves the game to a CartridgeSavegame object asynchronously.

StartLogging ( WF logger ) : void

Associates a logger to this instance.

If a logger already is associated, it will be disposed.

StopAndResetAsync ( ) : System.Threading.Tasks.Task

Stops the game and then resets the engine asynchronously.

WFCoreAdapter ( ) : System

보호된 메소드들

메소드 설명
DisposeOverride ( bool disposeManagedResources ) : void
InitInstanceOverride ( ) : void

비공개 메소드들

메소드 설명
ApplySensorData ( ) : void
Compass_CurrentValueChanged ( object sender, SensorReadingEventArgs e ) : void
DisposeLogger ( ) : void
GeoWatcher_PositionChanged ( object sender, GeoPositionChangedEventArgs e ) : void
GeoWatcher_StatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void
LogDebug ( string message, LogLevel level = LogLevel.Debug ) : void
OnCompassCalibrate ( object sender, CalibrationEventArgs e ) : void
OnIsCompassEnabledChanged ( bool value ) : void
ProcessCompass ( CompassReading compassReading ) : void
ProcessPosition ( GeoPosition position ) : void
RaisePlayerLocationChanged ( GeoCoordinate gc, double heading ) : void
RegisterCoreEventHandlers ( ) : void
WFCoreAdapter_LogMessageRequested ( object sender, LogMessageEventArgs e ) : void
WFCoreAdapter_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
WaitForGameState ( EngineGameState target ) : void

메소드 상세

DisposeOverride() 보호된 메소드

protected DisposeOverride ( bool disposeManagedResources ) : void
disposeManagedResources bool
리턴 void

InitAndRestoreCartridge() 공개 메소드

Resumes playing a Wherigo cartridge saved game.
public InitAndRestoreCartridge ( string filename, string gwsFilename ) : WF.Player.Core.Cartridge
filename string Filename of the cartridge in the isolated storage.
gwsFilename string Filename of the savegame to restore.
리턴 WF.Player.Core.Cartridge

InitAndRestoreCartridgeAsync() 공개 메소드

Resumes playing a Wherigo cartridge saved game asynchronously.
public InitAndRestoreCartridgeAsync ( string filename, string gwsFilename ) : Task
filename string Filename of the cartridge in the isolated storage.
gwsFilename string Filename of the savegame to restore.
리턴 Task

InitAndStartCartridge() 공개 메소드

Starts to play a Wherigo cartridge game.
public InitAndStartCartridge ( string filename ) : WF.Player.Core.Cartridge
filename string Filename of the cartridge in the isolated storage.
리턴 WF.Player.Core.Cartridge

InitAndStartCartridgeAsync() 공개 메소드

Starts to play a Wherigo cartridge game asynchronously.
public InitAndStartCartridgeAsync ( string filename ) : Task
filename string Filename of the cartridge in the isolated storage.
리턴 Task

InitInstanceOverride() 보호된 메소드

protected InitInstanceOverride ( ) : void
리턴 void

Save() 공개 메소드

Saves the game to a CartridgeSavegame object.
public Save ( CartridgeSavegame cs ) : void
cs CartridgeSavegame The CartridgeSavegame representing the savegame.
리턴 void

SaveAsync() 공개 메소드

Saves the game to a CartridgeSavegame object asynchronously.
public SaveAsync ( CartridgeSavegame cs ) : System.Threading.Tasks.Task
cs CartridgeSavegame The CartridgeSavegame representing the savegame.
리턴 System.Threading.Tasks.Task

StartLogging() 공개 메소드

Associates a logger to this instance.
If a logger already is associated, it will be disposed.
public StartLogging ( WF logger ) : void
logger WF
리턴 void

StopAndResetAsync() 공개 메소드

Stops the game and then resets the engine asynchronously.
public StopAndResetAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

WFCoreAdapter() 공개 메소드

public WFCoreAdapter ( ) : System
리턴 System