from wotapy.util.palette import palette
from wotapy.objects.actor import Actor
from wotapy.objects.place import Place, viewport
from wotapy.objects.property import Property
from wotapy.objects.signal import Signal

from wotapy.core.damagable import Damagable, SAssault
from wotapy.core.move import Actable, SActEnded

def main():
    # place = empty_room((28, 15))
    # nomad = Actor('nomad', (5, 8), properties=[Damagable(health=12)], tags=['wild'])
    # place.spawn(nomad)
    # place.spawn()
    # illu = place.illustrate()
    # vp = viewport(illu)
    # print(vp)

    # nomad.signal(SAssault(dmg=15))
    # # update the world
    # place.signal(SActEnded())

    # illu = place.illustrate()
    # vp = viewport(illu)
    # print(vp)
    pass