from atlas import *

from cyphesis.Thing import Thing
from misc import set_kw
from common import log,const
from whrandom import *

import atlas

debug_seed = 0

speed = 1

"""
Base class from which all fruit/seed entities are derived.
"""

class Seed(Thing):
    def __init__(self, cppthing, **kw):
        self.base_init(cppthing, kw)
        set_kw(self,kw,"mass",0.05)
    def tick_operation(self, op): pass
#        opTick=Operation("tick",to=self)
#        opTick.setFutureSeconds(const.basic_tick*speed)
#
#        result = atlas.Oplist(opTick)
#
#        new_status=self.status-0.1
#        ent=Entity(self.id,status=new_status)
#        result = result + Operation("set",ent,to=self)
#        return result
