game logic fixed by tips of johan

This commit is contained in:
Remco
2015-06-04 13:20:46 +02:00
parent 76a41dbbd1
commit 1bf525c6b7
16 changed files with 266 additions and 263 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ public class Player extends DrawObject {
}
public void update(){
public void update(float update){
if(lastindex != index){
transform = new AffineTransform();
transform.rotate(Math.toRadians(index*45),middlePoint.getX(),middlePoint.getY());