17 lines
325 B
Python
17 lines
325 B
Python
from collections import defaultdict
|
|
|
|
from aoe.types import *
|
|
|
|
|
|
|
|
class Housing():
|
|
|
|
|
|
def __init__(self):
|
|
self.space = defaultdict(int, {
|
|
Buildings.HOUSE: 5,
|
|
Buildings.TOWNCENTER: 5,
|
|
})
|
|
|
|
self.required = defaultdict(int, {u: 1 for u in Units})
|