- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
namespace bullet_factory
{
template<int weaponType,
typename T,
typename... Args>
std::unique_ptr<T> createBullet(Args... args);
template<>
std::unique_ptr<BulletBazooka> createBullet<WeaponList::BAZOOKA, BulletBazooka,
const Texture*, float, float, float, float, int>(const Texture* texture,
float x,
float y,
float nx,
float ny,
int movementTime);
guest 31.03.2017 00:19 # −16