final/src/Camera.java

12 lines
357 B
Java
Raw Normal View History

2022-06-14 19:54:55 +01:00
import java.io.Serializable;
2022-06-12 23:22:13 +01:00
//This class controls the x-scrolling aspect for the player
//If you look at the players absolute position(Relative to the screen), the players y position changes, but the x position
//never actually changes.
2022-06-14 19:54:55 +01:00
public class Camera implements Serializable {
2022-06-02 18:21:29 +01:00
public int x;
public Camera(int x){
this.x = x;
}
}