[Updated] Code for use with WASM, [TODO] Make enemy gun follow player, spawn bullets from tip of the barrel
This commit is contained in:
@@ -20,10 +20,10 @@ public:
|
||||
|
||||
void logic()
|
||||
{
|
||||
if (touched)
|
||||
{
|
||||
StateService::getInstance().setScreen(EScreen::VICTORY);
|
||||
}
|
||||
// if (touched)
|
||||
// {
|
||||
// // StateService::getInstance().setScreen(EScreen::VICTORY);
|
||||
// }
|
||||
}
|
||||
|
||||
void draw()
|
||||
|
||||
Reference in New Issue
Block a user