[╯°□°]╯︵┻━┻
|
00001 #ifndef PRJ_COLLISION_H 00002 #define PRJ_COLLISION_H 00003 00004 #include "Force.h" 00005 #include "Obj.h" 00006 #include <map> 00007 #include <wx/sound.h> 00008 00009 const int CHANNELCOUNT=1; 00010 00011 class Collision:public Force{ 00012 public: 00013 void force(); 00014 Collision(set<Obj*>& tabObj,map<Obj*,map<Obj*, bool> >& collisionTable); 00015 void swtichSound(); 00016 bool soundState(); 00017 private: 00018 vector<int> soundChannelTime; 00019 set<Obj*>* tabObj; 00020 map<Obj*,map<Obj*, bool> > collisionTable; 00021 bool SOUND; 00022 }; 00023 00024 #endif