Timings: rename core timers to remove 'timer' from the names

this makes them shorter and more consistent.
This commit is contained in:
Dylan K. Taylor
2020-12-23 17:52:25 +00:00
parent 1d7b65e0c2
commit bcc3e87730
14 changed files with 160 additions and 160 deletions

View File

@ -173,7 +173,7 @@ abstract class Projectile extends Entity{
public function move(float $dx, float $dy, float $dz) : void{
$this->blocksAround = null;
Timings::$entityMoveTimer->startTiming();
Timings::$entityMove->startTiming();
$start = $this->location->asVector3();
$end = $start->addVector($this->motion);
@ -264,7 +264,7 @@ abstract class Projectile extends Entity{
$this->getWorld()->onEntityMoved($this);
$this->checkBlockCollision();
Timings::$entityMoveTimer->stopTiming();
Timings::$entityMove->stopTiming();
}
/**