public static handleShooting ( |
||
hero | ||
return | void |
public static void handleShooting(Hero hero)
{
if (KeyboardManager.isKeyPressed(keyTypes[(int)KeyInputType.Shoot]))
{
hero.shoot();
}
}