mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 18:27:42 +00:00
Initial CPatterned classes
This commit is contained in:
21
Runtime/World/CHealthInfo.hpp
Normal file
21
Runtime/World/CHealthInfo.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef __URDE_CHEALTHINFO_HPP__
|
||||
#define __URDE_CHEALTHINFO_HPP__
|
||||
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class CHealthInfo
|
||||
{
|
||||
float x0_health;
|
||||
float x4_knockbackResistance;
|
||||
public:
|
||||
CHealthInfo(CInputStream& in);
|
||||
float GetHealth() const {return x0_health;}
|
||||
float GetKnockbackResistance() const {return x4_knockbackResistance;}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __URDE_CHEALTHINFO_HPP__
|
||||
Reference in New Issue
Block a user