mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 09:02:47 +00:00
delete player if less than 100 tiles
This commit is contained in:
@@ -62,6 +62,7 @@ export interface Tile {
|
||||
owner(): Player | TerraNullius
|
||||
hasOwner(): boolean
|
||||
isBorder(): boolean
|
||||
borders(other: Player | TerraNullius): boolean
|
||||
isInterior(): boolean
|
||||
cell(): Cell
|
||||
terrain(): Terrain
|
||||
@@ -102,6 +103,7 @@ export interface Player {
|
||||
isPlayer(): this is Player
|
||||
neighbors(): (Player | TerraNullius)[]
|
||||
numTilesOwned(): number
|
||||
tiles(): ReadonlySet<Tile>
|
||||
sharesBorderWith(other: Player | TerraNullius): boolean
|
||||
toString(): string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user