metaforce/Runtime/Weapon/CWeaponMode.cpp

56 lines
978 B
C++
Raw Normal View History

2016-11-22 20:43:16 +00:00
#include "CWeaponMode.hpp"
namespace urde
{
CWeaponMode::CWeaponMode(EWeaponType type, bool, bool)
: x0_weaponType(type)
{
}
EWeaponType CWeaponMode::GetType() const
{
return x0_weaponType;
}
2016-11-22 20:43:16 +00:00
CWeaponMode CWeaponMode::Invalid()
{
return CWeaponMode(EWeaponType::None, false, false);
}
CWeaponMode CWeaponMode::Phazon()
{
return CWeaponMode(EWeaponType::Phazon, false, false);
}
CWeaponMode CWeaponMode::Plasma()
{
return CWeaponMode(EWeaponType::Plasma, false, false);
}
CWeaponMode CWeaponMode::Wave()
{
return CWeaponMode(EWeaponType::Wave, false, false);
}
CWeaponMode CWeaponMode::BoostBall()
{
return CWeaponMode(EWeaponType::BoostBall, false, false);
}
CWeaponMode CWeaponMode::Ice()
{
return CWeaponMode(EWeaponType::Ice, false, false);
}
CWeaponMode CWeaponMode::Power()
{
return CWeaponMode(EWeaponType::Power, false, false);
}
CWeaponMode CWeaponMode::Bomb()
{
return CWeaponMode(EWeaponType::Bomb, false, false);
}
}