Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 621 Bytes

Readme.md

File metadata and controls

20 lines (14 loc) · 621 Bytes

Game Programming Final Project

Game Screenshot

Download

Google Drive

Info about the PlayerCombat class

This class will contain all methods related to player combat, health and damage. It doesn't need to be added anywhere, since it's a singleton. Use PlayerCombat.GetInstance() anywhere to get it. Usage example:

PlayerCombat.GetInstance().GetPlayerHealth();
PlayerCombat.GetInstance().DamagePlayer(20f);
PlayerCombat.GetInstance().HealPlayer(10f);
PlayerCombat.GetInstance().KillPlayer();