C# Class SpaceBattle.PowerUps

显示文件 Open project: luqui/space-shooter

Public Methods

Method Description
RandomEnemyPowerup ( Vector2 position, Vector2 velocity ) : PowerUp
RandomUpgradePowerup ( Vector2 position, Vector2 velocity ) : PowerUp

Method Details

RandomEnemyPowerup() public static method

public static RandomEnemyPowerup ( Vector2 position, Vector2 velocity ) : PowerUp
position Vector2
velocity Vector2
return PowerUp

RandomUpgradePowerup() public static method

public static RandomUpgradePowerup ( Vector2 position, Vector2 velocity ) : PowerUp
position Vector2
velocity Vector2
return PowerUp