Describe an enemy that's part of the "army".
| 245 | |
| 246 | |
| 247 | class ArmyGlyph(EnemyGlyph): |
| 248 | """Describe an enemy that's part of the "army".""" |
| 249 | |
| 250 | __mapper_args__ = {"polymorphic_identity": "army"} |
| 251 | |
| 252 | def glyph_for_state(self, coord, state): |
| 253 | if state["flip"]: |
| 254 | return self.alt_data |
| 255 | else: |
| 256 | return self.data |
| 257 | |
| 258 | |
| 259 | class SaucerGlyph(EnemyGlyph): |