mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 23:54:02 +00:00
create player panel
This commit is contained in:
@@ -348,6 +348,9 @@ export class PlayerImpl implements Player {
|
||||
}
|
||||
|
||||
canTarget(other: Player): boolean {
|
||||
if (this == other) {
|
||||
return false;
|
||||
}
|
||||
if (this.isAlliedWith(other)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user