From 3b94f5da2447f14119f4004a0fd15f590822cac9 Mon Sep 17 00:00:00 2001 From: Kallfaktorn Date: Wed, 16 Feb 2011 17:11:27 +0100 Subject: [PATCH] Added edoc to player. --- src/ggs_player.erl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/ggs_player.erl b/src/ggs_player.erl index e69de29..bdfcf7d 100644 --- a/src/ggs_player.erl +++ b/src/ggs_player.erl @@ -0,0 +1,22 @@ + + + +%% @spec start_link(GameToken::string()) -> socket() +%% @doc Spawn a new player process. +start_link(Socket) -> end. + + +%% @spec notify(Player::Pid(), From::Pid(), +%% {Command::String(), Message::string()}) -> ok +%% @doc send a message to a player. +notify(Player, From, Message) -> end. + + +%% @spec get_token() -> string() +%% @doc Get the player token. +get_token() -> end. + + +%% @spec stop(Table::pid()) -> Reason::string() +%% @doc Properly terminates the process. +stop(Table) -> end.