This commit is contained in:
Gnieark 2016-07-01 07:51:16 +02:00
parent c3d0f628e5
commit 346d7cc3e2

View File

@ -15,7 +15,7 @@ class TronPlayer{
} }
public function getName(){ public function getName(){
return $this->name; return $this->name;
] }
private function set_direction($newDir){ private function set_direction($newDir){
//can't be the opposite of the previous direction //can't be the opposite of the previous direction
if( if(