Mario: formatting
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
#include "../../sdlpp/sdlpp_renderobject.hpp"
|
||||
#include "../objectids.hpp"
|
||||
|
||||
void BounceVisitor::visit( const SDLPP::RenderObject &obj ) {
|
||||
void BounceVisitor::visit(const SDLPP::RenderObject &obj) {
|
||||
auto id = obj.getId();
|
||||
switch ( id ) {
|
||||
switch (id) {
|
||||
case FLOOR_ID:
|
||||
case BRICK_ID:
|
||||
case BRICK_TOP_ID:
|
||||
if(from == BOUNCE_COLLISION) {
|
||||
if (from == BOUNCE_COLLISION) {
|
||||
hits += 1;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user