CTFTNKS Project Documentation - v1.3.0
Preparing search index...
entities/powerups
getRandomPowerUp
Function getRandomPowerUp
getRandomPowerUp
(
game
:
Game
)
:
PowerUp
Returns a random powerup based on weights.
Parameters
game
:
Game
The game instance.
Returns
PowerUp
A new PowerUp instance.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
CTFTNKS Project Documentation - v1.3.0
Loading...
Returns a random powerup based on weights.