22 lines
308 B
C++
22 lines
308 B
C++
#include "PickupSystem.h"
|
|
|
|
using namespace GameLogic;
|
|
|
|
PickupSystem::PickupSystem()
|
|
{}
|
|
|
|
PickupSystem::~PickupSystem()
|
|
{}
|
|
|
|
void PickupSystem::CreatePickup(Pickup* pickup)
|
|
{
|
|
pickups.push_back(pickup);
|
|
}
|
|
|
|
void PickupSystem::Update()
|
|
{
|
|
for(int i = 0; i < pickups.size(); i++)
|
|
{
|
|
pickups.at(i)->Update();
|
|
}
|
|
} |