io.nadron.client.app.PlayerSession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nadclient Show documentation
Show all versions of nadclient Show documentation
This is a client library for Nadron server https://github.com/menacher/java-game-server/tree/netty4/nadron. Java clients can use this program to connect and interact with nadron server.
package io.nadron.client.app;
/**
* This interface abstracts a user session to a {@link Game}.
*
* @author Abraham Menacherry
*
*/
public interface PlayerSession extends Session
{
/**
* Each session is associated with a {@link Player}. This is the actual
* human or machine using this session.
*
* @return Returns that associated Player object or null if it is not
* associated yet.
*/
public abstract Player getPlayer();
}