| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-02-26 17:16:08 +0100 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-02-26 17:16:08 +0100 | 
| commit | 6494b74a45e27085fd81836f7b8c969431e8ff3c (patch) | |
| tree | e344a24fa2e9a2ee198314c0552c46b235072009 /src/struct/player_turn.erl | |
| parent | fd4d031ab5b31763d376c663cc049f62ee389243 (diff) | |
Got it to work, I think.
Diffstat (limited to 'src/struct/player_turn.erl')
| -rw-r--r-- | src/struct/player_turn.erl | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/struct/player_turn.erl b/src/struct/player_turn.erl index b973135..e49156e 100644 --- a/src/struct/player_turn.erl +++ b/src/struct/player_turn.erl @@ -8,7 +8,7 @@     player_turn,     {        number, -      player_id +      player_ix     }  ). @@ -27,7 +27,7 @@  (     [        get_number/1, -      get_player_id/1 +      get_player_ix/1     ]  ). @@ -39,13 +39,13 @@  %% EXPORTED FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%% Accessors -new (Number, PlayerID) -> +new (Number, PlayerIX) ->     #player_turn     {        number = Number, -      player_id = PlayerID +      player_ix = PlayerIX     }.  get_number (PlayerTurn) -> PlayerTurn#player_turn.number. -get_player_id (PlayerTurn) -> PlayerTurn#player_turn.player_id. +get_player_ix (PlayerTurn) -> PlayerTurn#player_turn.player_ix. | 


