Grid the landscape, and shortcircuit checks on the collision array if there are no nearby checked in collisions to be collided with. This is a big win for fire's ammoshove in particular. Also add a +2 that seemed missing in the check, and update fire accordingly.
/*
* InstallController.h
*
*
* Created by Vittorio on 28/09/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#ifndef INSTALLCONTROLLER_H
#define INSTALLCONTROLLER_H
class InstallController
{
public:
virtual ~InstallController();
virtual void showInstallController() = 0;
};
#endif