Back to project page DeathRally.
The source code is released under:
GNU General Public License
If you think the Android project DeathRally listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package project.gamedev.deathrally.game.model; /* ww w . ja va 2s .c om*/ /** * Represents a collision by defining an entity and a direction of the collision * @author ??? * */ public class CollisionEvent { private Entity e; private Direction d; public CollisionEvent(Entity e, Direction d) { this.e = e; this.d = d; } public Entity getEntity() { return e; } public Direction getDirection() { return d; } }