<?php
class Shadows extends Game{
private $data;
private $gameStatus;
public function __construct(){
parent::__construct();
}
public function setStatus($status){
$this->gameStatus = $status;
}
}
//INSTANTIATE
$TheGame = new Shadows();
$TheGame->setStatus('afoot');
?>
class Shadows extends Game{
private $data;
private $gameStatus;
public function __construct(){
parent::__construct();
}
public function setStatus($status){
$this->gameStatus = $status;
}
}
//INSTANTIATE
$TheGame = new Shadows();
$TheGame->setStatus('afoot');
?>