Added a JFrame and a JPanel
Specified a width and height of the window.
fps fix etc
Added ESCAPE button as exit button
fuckup screen?
Deleted unnecessary paincomponent function and repaint call.
Added Fullscreen-mode. Deleted the Board-class since it's needless, converted the Game-class from JFrame to Frame since nothing from JFrame is necessary.
Added a player class with key listeners for moving, paint method for painting and move function for moving.
Added a player class with key listeners for moving, paint method for painting and move function for moving.
Changed the UPS-system so it doesn't get stuck in a loop. Added gravity to the Player-class. Made it possible to jump with the player.
Added a BaseEnvironment class for all the environment to inherit from. Also added collision between player and environment
Edited the collision-system for the player class to make it more exact, the player stops exactly when it collides.
Added better collision-handling and a max speed
BaseEnvironment is now a abstract class
Merge branch 'develop' of https://github.com/ksilverhav/game-dev into develop
Standard Floor added
Made the ArrayList for the environment to a synchrinozed list and made the list accessable from the Game-class so that the player doesn't make a copy of the environment list itself so that when the player changes the environment, it will change for all the players. Also added color to the floor so it is possible to see where the floor is.
Edited the jump-system so that the player jumps all the time when the jumpbutton is held down.
Edited jumpsystem a bit
Added a aim class that paints a square around the cursor