Remove completed TODOs/dead code.

This commit is contained in:
Dan Albert
2020-10-16 13:00:59 -07:00
parent 613f84aa3c
commit e4852c74ab
3 changed files with 0 additions and 17 deletions

View File

@@ -65,16 +65,6 @@ class ControlPointAircraftInventory:
if count > 0:
yield aircraft, count
@property
def total_available(self) -> int:
"""Returns the total number of aircraft available."""
# TODO: Remove?
# This probably isn't actually useful. It's used by the AI flight
# planner to determine how many flights of a given type it should
# allocate, but it should probably be making that decision based on the
# number of aircraft available to perform a particular role.
return sum(self.inventory.values())
def clear(self) -> None:
"""Clears all aircraft from the inventory."""
self.inventory.clear()