Create basic movement collision detector
This commit is contained in:
@@ -49,7 +49,7 @@ public class Entity extends MovableObject {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean move(Direction direction) {
|
||||
protected boolean move(Direction direction) {
|
||||
if(super.move(direction)) {
|
||||
faceDirection = direction;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user