2022-07-05 15:55:47 +02:00
|
|
|
<?php
|
|
|
|
|
2024-02-02 15:16:11 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2022-07-05 15:55:47 +02:00
|
|
|
namespace DNW\Skills;
|
2010-08-28 22:05:41 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicates support for allowing partial play (where a player only plays a part of the time).
|
|
|
|
*/
|
|
|
|
interface ISupportPartialPlay
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Indicates the percent of the time the player should be weighted where 0.0 indicates the player didn't play and 1.0 indicates the player played 100% of the time.
|
|
|
|
*/
|
2023-08-02 10:59:15 +00:00
|
|
|
public function getPartialPlayPercentage(): float;
|
2022-07-05 15:55:47 +02:00
|
|
|
}
|