Commit d9982357 authored by Bogdan's avatar Bogdan

Javadoc for helper classes

parent 32cb33ce
......@@ -4,12 +4,9 @@ import core.event.Event;
import core.gamestate.GameContent;
/**
* Not yet used.
* Created by bogdanbear on 11/11/2015.
* Event used for orderly connection closure
*/
//this event behaves differently on client and server, need to explain why and how
public class EndEvent implements Event{
@Override
public boolean execute(GameContent gameContent) {
......
......@@ -8,6 +8,7 @@ import network.outer_shell.Lounge;
/**
* Created by bogdanbear on 20/11/2015.
* a wrapper of the ServerConnection which can be run by a thread and which allows thread synchronization
*/
public class LoungeServer extends Waitable implements Runnable{
private Lounge lounge;
......
......@@ -7,6 +7,8 @@ import java.util.logging.Logger;
/**
* Created by bogdanbear on 11/12/2015.
* this interface is one of the main classes of the networks package
* every object we want to send (in game) should implement this interface
*/
public interface NetworkObject extends Serializable {
Logger LOGGER = Logging.getInstance().getLogger();
......
......@@ -6,6 +6,7 @@ import core.gamestate.GameContent;
/**
* Created by bogdanbear on 29/10/2015.
* just an event used for testing purposes in the junit tests
*/
public class TestEvent implements Event{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment