feat: replace game schedules with logical ticks
This commit is contained in:
@@ -34,7 +34,7 @@ abstract class AbsGeneralPool{
|
||||
* specialWar
|
||||
*/
|
||||
|
||||
public function __construct(\MeekroDB $db, RandUtil $rng, array $info, string $validUntil)
|
||||
public function __construct(\MeekroDB $db, RandUtil $rng, array $info, int $validUntil)
|
||||
{
|
||||
$this->db = $db;
|
||||
$this->info = $info;
|
||||
@@ -92,7 +92,7 @@ abstract class AbsGeneralPool{
|
||||
return $this->builder;
|
||||
}
|
||||
|
||||
public function getValidUntil():string{
|
||||
public function getValidUntil():int{
|
||||
return $this->validUntil;
|
||||
}
|
||||
|
||||
@@ -109,4 +109,4 @@ abstract class AbsGeneralPool{
|
||||
|
||||
abstract public static function getPoolName():string;
|
||||
abstract public static function initPool(\MeekroDB $db);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user