/** ** Register ** Registers a faction in the factions list ** ** Parameters: ** - faction: The faction object to register **/ private static function Register(Faction $faction) { Factions::$factions[$faction->ID()] = $faction; }
public function __construct(Faction $owner, Position $start, Position $topleft, Position $bottomright, $edge, $interior) { $location0 = Locations::Find(0); parent::__construct($owner->ID(), $topleft, $bottomright, $edge, $start, $location0, -1, $interior, $owner->ID()); }