mirror of
https://github.com/solcloud/Counter-Strike.git
synced 2025-02-24 03:42:39 +01:00
42 lines
671 B
PHP
42 lines
671 B
PHP
<?php
|
|
|
|
namespace Test\Simulation;
|
|
|
|
use cs\Core\Game;
|
|
use cs\Core\GameState;
|
|
use cs\Event\Event;
|
|
use Test\BaseTest;
|
|
|
|
abstract class SimulationTester extends BaseTest
|
|
{
|
|
|
|
public function onGameStart(Game $game): void
|
|
{
|
|
// empty hook
|
|
}
|
|
|
|
public function onTickStart(GameState $state, int $tick): void
|
|
{
|
|
// empty hook
|
|
}
|
|
|
|
public function onTickEnd(GameState $state, int $tick): void
|
|
{
|
|
// empty hook
|
|
}
|
|
|
|
/**
|
|
* @param Event[] $events
|
|
*/
|
|
public function onEvents(array $events): void
|
|
{
|
|
// empty hook
|
|
}
|
|
|
|
public function onGameEnd(Game $game): void
|
|
{
|
|
// empty hook
|
|
}
|
|
|
|
}
|