(self, stuff)
| 38 | self.mask = wx.LIST_MASK_TEXT |
| 39 | |
| 40 | def getText(self, stuff): |
| 41 | if isinstance(stuff, Fighter): |
| 42 | active = [x.name for x in stuff.abilities if x.active] |
| 43 | if len(active) == 0: |
| 44 | return "None" |
| 45 | return ", ".join(active) |
| 46 | |
| 47 | |
| 48 | Abilities.register() |
nothing calls this directly
no outgoing calls
no test coverage detected