C# Class SceneController, GrapplingHookFighters

Inheritance: MonoBehaviour
显示文件 Open project: PurdueSIGGD/GrapplingHookFighters Class Usage Examples

Public Properties

Property Type Description
gameMode int
levelPlan int[]
loadInstantly bool
map GameObject
playerCount int
spriteSet SpriteSet
timeBeforeRoundEnd float
timeBeforeRoundStart float
timeForPointsAwarded float

Public Methods

Method Description
AddDeath ( ) : void
Awake ( ) : void
CleanScene ( ) : void
DisconnectPlayers ( int i ) : void
End ( ) : void
KillPlayer ( int i ) : void
LoadNow ( int playerCount, Sprite p1Sprite, Sprite p2Sprite, Sprite p3Sprite, Sprite p4Sprite, Color p1C, Color p2C, Color p3C, Color p4C ) : void
RespawnPeeps ( ) : void
RespawnPlayer ( int i ) : void
RestartNewGame ( ) : void
SetTransparency ( float a ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
IsRoundOver ( ) : bool
LoadLevelIntitial ( int playerCount, Sprite p1Sprite, Sprite p2Sprite, Sprite p3Sprite, Sprite p4Sprite, Color p1C, Color p2C, Color p3C, Color p4C ) : IEnumerator
PrintRoundEnd ( ) : string
StartNewScene ( ) : IEnumerator

Method Details

AddDeath() public method

public AddDeath ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

CleanScene() public method

public CleanScene ( ) : void
return void

DisconnectPlayers() public method

public DisconnectPlayers ( int i ) : void
i int
return void

End() public method

public End ( ) : void
return void

KillPlayer() public method

public KillPlayer ( int i ) : void
i int
return void

LoadNow() public method

public LoadNow ( int playerCount, Sprite p1Sprite, Sprite p2Sprite, Sprite p3Sprite, Sprite p4Sprite, Color p1C, Color p2C, Color p3C, Color p4C ) : void
playerCount int
p1Sprite Sprite
p2Sprite Sprite
p3Sprite Sprite
p4Sprite Sprite
p1C Color
p2C Color
p3C Color
p4C Color
return void

RespawnPeeps() public method

public RespawnPeeps ( ) : void
return void

RespawnPlayer() public method

public RespawnPlayer ( int i ) : void
i int
return void

RestartNewGame() public method

public RestartNewGame ( ) : void
return void

SetTransparency() public method

public SetTransparency ( float a ) : void
a float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

gameMode public_oe property

public int gameMode
return int

levelPlan public_oe property

public int[] levelPlan
return int[]

loadInstantly public_oe property

public bool loadInstantly
return bool

map public_oe property

public GameObject map
return GameObject

playerCount public_oe property

public int playerCount
return int

spriteSet public_oe property

public SpriteSet spriteSet
return SpriteSet

timeBeforeRoundEnd public_oe property

public float timeBeforeRoundEnd
return float

timeBeforeRoundStart public_oe property

public float timeBeforeRoundStart
return float

timeForPointsAwarded public_oe property

public float timeForPointsAwarded
return float