TfrmMain.AddPlatform Method

Unit: fMain
function AddPlatform(const Parent: TFMXObject; const Look: TGameLevelPlatformLook; const IsInRoom: boolean; const X: Single = 0; const Y: Single = 0; const GameLevelPlatform: TGameLevelPlatform = 0): TPlatformSprite

Parameters

Parent
Type: TFMXObject

Look
Type: uGameLevel.TGameLevelPlatformLook

IsInRoom
Type: System.Boolean

X
Type: System.Single

Y
Type: System.Single

GameLevelPlatform
Type: uGameLevel.TGameLevelPlatform

Return Value