dfhack/library/python/deprecated/pydfhack/vegetation.py

19 lines
483 B
Python

# -*- coding: utf-8 -*-
"""
Python class for DF_Hack::Vegetation
"""
from ._pydfhack import _VegetationManager
2010-05-03 01:31:20 -06:00
from .mixins import NeedsStart
from .decorators import suspend
class Vegetation(NeedsStart, _VegetationManager):
api = None
cls = _VegetationManager
def __init__(self, api, *args, **kwds):
2010-05-03 01:31:20 -06:00
self.cls.__init__(self, args, kwds)
self.api = api
2010-05-03 01:31:20 -06:00
@suspend
def Read(self, *args, **kw):
return self.cls.Read(self, *args, **kw)