Source

GtugGoSandbox / mapgame / models.py

Full commit
from google.appengine.ext import db
from google.appengine.api import users


class Player(db.Model):
    player = db.UserProperty()
    hp = db.IntegerProperty()
    profession = db.StringProperly()

class Location(db.Model):
    x_pt = db.FloatProperty()
    y_pt = db.FloatProperty()
    player = db.ReferenceProperty(Player)