Danbias/Code/Game/GameLogic/PickupSystem/PickupSystem.cpp

22 lines
308 B
C++
Raw Normal View History

2014-02-25 14:36:54 +01:00
#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();
}
}