Multiple files project prep

master
sigonasr2 1 year ago
parent 7b81f4aad4
commit a502db0af9
  1. 2
      ShooterExample/ShooterExample.cpp

@ -146,7 +146,6 @@ public:
bool OnUserUpdate(float fElapsedTime) override bool OnUserUpdate(float fElapsedTime) override
{ {
//Update Game Objects
player.Update(fElapsedTime); player.Update(fElapsedTime);
for(Bullet&b:bullets){ for(Bullet&b:bullets){
@ -189,7 +188,6 @@ public:
player.Move({48*fElapsedTime,0}); player.Move({48*fElapsedTime,0});
} }
// Called once per frame, draws random coloured pixels
Clear(olc::BLACK); Clear(olc::BLACK);
for(Enemy&e:enemies){ for(Enemy&e:enemies){
for(Bullet&b:bullets){ for(Bullet&b:bullets){

Loading…
Cancel
Save