|
|
|
@ -141,6 +141,18 @@ public function bool SameAs(EInterface other)
|
|
|
|
|
return (controller.Get() == otherController.Get()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns color of the caller `EPlayer`'s current team. |
|
|
|
|
* |
|
|
|
|
* Such color is supposed to be defined even for a single-team modes. |
|
|
|
|
* |
|
|
|
|
* @return `Color` structure with the `EPlayer`'s current color. |
|
|
|
|
*/ |
|
|
|
|
public final function Color GetTeamColor() |
|
|
|
|
{ |
|
|
|
|
return _.color.Red; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns location of the caller `EPlayer`. |
|
|
|
|
* |
|
|
|
|