2012-07-03 20:57:18 -07:00
|
|
|
## \brief Interface to server core mind.
|
|
|
|
|
class Mind(object): pass
|
|
|
|
|
|
2012-07-03 18:29:50 -07:00
|
|
|
## \brief Interface to server core tasks.
|
|
|
|
|
##
|
|
|
|
|
## This is the interface class for all task scripts.
|
|
|
|
|
## It provides the interface to the underlying object in the server core.
|
2012-07-03 20:57:18 -07:00
|
|
|
class Task(object):
|
2012-07-03 18:29:50 -07:00
|
|
|
def __init__(self, c):
|
|
|
|
|
self.character = c
|
|
|
|
|
|
|
|
|
|
## \var character
|
|
|
|
|
## A reference to the owner of the task
|
|
|
|
|
|
2012-07-03 00:29:11 -07:00
|
|
|
## \brief Interface to server core objects.
|
|
|
|
|
##
|
2012-07-03 18:29:50 -07:00
|
|
|
## This is the interface class for all entity and mind scripts.
|
2012-07-03 00:29:11 -07:00
|
|
|
## It provides the interface to the underlying object in the server core.
|
2012-07-03 20:57:18 -07:00
|
|
|
class Thing(object):
|
2012-07-03 00:29:11 -07:00
|
|
|
|
|
|
|
|
## Thing constructor
|
|
|
|
|
def __init__(self):
|
|
|
|
|
self.type = "thing"
|
2018-12-16 22:51:36 +01:00
|
|
|
self.location = rules.Location()
|
2012-07-03 00:29:11 -07:00
|
|
|
|
|
|
|
|
## Create an Atlas represenation of this entity
|
|
|
|
|
##
|
|
|
|
|
## \return An Atlas represention of this entity
|
|
|
|
|
def as_entity(self): pass
|
|
|
|
|
|
|
|
|
|
## \var type
|
|
|
|
|
## A string giving the Atlas class of this entity
|
|
|
|
|
|
|
|
|
|
## \var location
|
|
|
|
|
## A structure giving the full location data of the entity
|