Added inisitive
This commit is contained in:
parent
43763a3dbc
commit
bb3b2916d1
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
class Entity{
|
class Entity{
|
||||||
private $name;
|
private $name;
|
||||||
private $armour_class;
|
private $armour_class;
|
||||||
|
private $inisitive;
|
||||||
private $fullhp;
|
private $fullhp;
|
||||||
private $hp;
|
private $hp;
|
||||||
private $str;
|
private $str;
|
||||||
|
@ -19,6 +20,12 @@ class Entity{
|
||||||
public function getName(){
|
public function getName(){
|
||||||
return $this->name;
|
return $this->name;
|
||||||
}
|
}
|
||||||
|
public function setInisitive(int $init){
|
||||||
|
$this->inisitive = $init;
|
||||||
|
}
|
||||||
|
public function getInisitive(){
|
||||||
|
return $this->init;
|
||||||
|
}
|
||||||
public function setAC(int $ac){
|
public function setAC(int $ac){
|
||||||
$this->armour_class = $ac;
|
$this->armour_class = $ac;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue