Add Box2d collision filtering, allow collecting power ups with balls
This commit is contained in:
12
core/src/com/me/brickbuster/physics/EntityType.java
Normal file
12
core/src/com/me/brickbuster/physics/EntityType.java
Normal file
@ -0,0 +1,12 @@
|
||||
package com.me.brickbuster.physics;
|
||||
|
||||
public final class EntityType {
|
||||
|
||||
public static final short BOUNDARY = 0x1;
|
||||
public static final short BALL = 0x1 << 1;
|
||||
public static final short BRICK = 0x1 << 2;
|
||||
public static final short PADDLE = 0x1 << 3;
|
||||
public static final short POWER_UP = 0x1 << 4;
|
||||
public static final short SHIELD = 0x1 << 5;
|
||||
|
||||
}
|
Reference in New Issue
Block a user