master-specific @var annotations

This commit is contained in:
Dylan K. Taylor
2020-01-09 17:50:01 +00:00
parent cda1143a79
commit aba71762e9
14 changed files with 27 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ abstract class Entity{
/** @var float */
private $health = 20.0;
/** @var int */
private $maxHealth = 20;
/** @var float */

View File

@@ -61,6 +61,7 @@ use function reset;
*/
final class EntityFactory{
/** @var int */
private static $entityCount = 1;
/** @var string[] base class => currently used class for construction */
private static $classMapping = [];

View File

@@ -85,6 +85,7 @@ class Human extends Living implements ProjectileSource, InventoryHolder{
/** @var ExperienceManager */
protected $xpManager;
/** @var int */
protected $xpSeed;
protected $baseOffset = 1.62;