X-Git-Url: http://git.tdb.fi/?p=libs%2Fgame.git;a=blobdiff_plain;f=examples%2Fbassteroids%2Fsource%2Fphysicalentity.cpp;h=85ff0bdea390ad2f31a0a2ab2e1abdf291097680;hp=585eb349e683116f560d98cf91fd1de3840a38ab;hb=391f1ab3c7ca52a9990f516f4cdd7094f60350df;hpb=cf97839fff9ecb0783cecc9510994fb4a13f2dbe diff --git a/examples/bassteroids/source/physicalentity.cpp b/examples/bassteroids/source/physicalentity.cpp index 585eb34..85ff0bd 100644 --- a/examples/bassteroids/source/physicalentity.cpp +++ b/examples/bassteroids/source/physicalentity.cpp @@ -1,10 +1,9 @@ #include "physicalentity.h" -#include using namespace Msp; -PhysicalEntity::PhysicalEntity(Game::Handle p, const Setup &s): - Entity(p, Game::TransformValues()), +PhysicalEntity::PhysicalEntity(Game::Handle p, const Setup &s, const Game::TransformValues &tv): + Entity(p, tv), collider(*this, s.collider) { if(!s.fixture)