Archived
0

style(all)

This commit is contained in:
2013-10-31 01:00:12 +04:00
parent d4dd335772
commit 077cd15235
3 changed files with 104 additions and 104 deletions

View File

@@ -105,6 +105,7 @@ public class Texture {
/**
* Преобразует обычные пиксельные координаты в относительные
*
* @param x
* @return
*/
@@ -114,6 +115,7 @@ public class Texture {
/**
* Преобразует обычные пиксельные координаты в относительные
*
* @param y
* @return
*/

View File

@@ -58,8 +58,7 @@ public class Prometheus implements TexturedObject {
int _x = get_center_x();
if (_x > Mouse.getX()) {
sprite_inverse = true;
}
else if(_x < Mouse.getX()){
} else if (_x < Mouse.getX()) {
sprite_inverse = false;
}
@@ -67,8 +66,7 @@ public class Prometheus implements TexturedObject {
if ((!run_left && !sprite_inverse) || (run_left && sprite_inverse)) {
body.nextFrame();
gun.nextFrame();
}
else if((run_left && !sprite_inverse) || (!run_left && sprite_inverse)){
} else if ((run_left && !sprite_inverse) || (!run_left && sprite_inverse)) {
body.prevFrame();
gun.prevFrame();
}