Added server project
Added GameServer and NetworkListener for server
Made Player serializable
Added GameClient and NetworkListener for client
Added name and score to user + getters
Added some more textures and changes some textures name to better reflect
what they do, also edited LevelRenderer.java to reflect these changes.
Refactored the canMoveTo() method in LevelController.java so that it is
drastically compacter and smarter.
Added attributes (booleans) to the Blocks class which decides if the block
is solid or not and moveable or not, also restructured the rest of the
class to reflect those changes. Added documentation to some classes. And
some other minor stuff.
working on score
Changed Player.java to use a single FacingDirection method instead of the
two that it used earlier also migrated more things to enum.(Gustav) Also
minimized and optimized some code in LevelController.java can make it even
compacter but this will do for now.(Gustav) And many minor changes (though
only in Player.java and LevelController.java).(Gustav) Fixed abug with the
Player spawning in the wrong area.(Andreas)
Added a Block Encyclopedia where we can add Blocks their attributes and
ids to make mapmaking easier later on.
Added some Block types but havent implemented logic for them yet.
Score should now work
Better variable names
Added pushBlock to liquid logic. (Andreas & Gustav)
map creation now works as intended
Added gametimer to general development
Updated the block encyclopedia. And fixed some minor comments.
Added new Block attribute slippery, implemented IceBlock fully, Added a
new State to player sliding, updated all classes that deal with blocks to
take into consideration of the new slippery attribute.
Player is now animated. Placeholder images for the animations, epic
graphics still to come.