16 lines
466 B
Python
16 lines
466 B
Python
from tungston.core.habitat import Habitat
|
|
from tungston.core.fauna.mob import Mob
|
|
from tungston.core.placement import Placement
|
|
|
|
|
|
# Class ############################################################################################
|
|
|
|
class MobPlacement(Placement):
|
|
"""
|
|
A description of where a creature should appear in the world.
|
|
"""
|
|
|
|
def __init__(self, mob:Mob, habitats:list[Habitat]=None):
|
|
super().__init__(habitats)
|
|
self.mob = mob
|