D3ltaQ's picture
Upload 2197 files
24b81cb verified
raw
history blame contribute delete
487 Bytes
class FireConsumable
{
ItemBase m_Item;
float m_Energy;
float m_RemainingEnergy;
void FireConsumable ( ItemBase item, float energy )
{
m_Item = item;
m_Energy = energy;
m_RemainingEnergy = energy;
}
//Item
ItemBase GetItem()
{
return m_Item;
}
//Energy
float GetEnergy()
{
return m_Energy;
}
//Remaining energy
float GetRemainingEnergy()
{
return m_RemainingEnergy;
}
void SetRemainingEnergy( float energy )
{
m_RemainingEnergy = energy;
}
}