Poodletooth-iLand/otp/avatar/PlayerBase.py

19 lines
288 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
class PlayerBase:
def __init__(self):
self.gmState = False
def atLocation(self, locationId):
return True
def getLocation(self):
return []
def setAsGM(self, state):
self.gmState = state
def isGM(self):
return self.gmState