C# Class FlatRedBall.Glue.CodeGeneration.CameraSetupCodeGenerator

Exibir arquivo Open project: vchelaru/FlatRedBall

Public Methods

Method Description
CallSetupCamera ( string gameFileName, bool whetherToCall ) : void
UpdateOrAddCameraSetup ( ) : void

Private Methods

Method Description
AddSetResolutionCode ( ICodeBlock methodContents ) : void
AddUsePixelCoordinatesCode ( ICodeBlock methodContents ) : void
GenerateResetCameraMethod ( ICodeBlock classContents ) : void
GenerateSetupCameraMethod ( ICodeBlock classContents ) : void
GetCameraSetupCsContents ( ) : string

Method Details

CallSetupCamera() public static method

public static CallSetupCamera ( string gameFileName, bool whetherToCall ) : void
gameFileName string
whetherToCall bool
return void

UpdateOrAddCameraSetup() public static method

public static UpdateOrAddCameraSetup ( ) : void
return void