view frontends/wix/constants.py @ 148:1d74c59a36a9

Quick Frontend: quick card game: added convenience method getPlayerLocation & __fakePlay getPlayerLocation give the place of the player (top, left, bottom or right) __fakePlay try to play every card, usefull for autoplay when debugging
author Goffi <goffi@goffi.org>
date Wed, 28 Jul 2010 19:56:12 +0800
parents f271fff3a713
children 1438a1337732
line wrap: on
line source

import sys
import __builtin__

__builtin__.__dict__['IMAGE_DIR'] = sys.path[0]+'/images'

__builtin__.__dict__['msgOFFLINE']          = _("offline")
__builtin__.__dict__['msgONLINE']           = _("online")
__builtin__.__dict__['const_DEFAULT_GROUP'] = "Unclassed"
__builtin__.__dict__['const_STATUS']        = [("", _("Online"), None),
                                               ("chat", _("Free for chat"), "green"),
                                               ("away", _("AFK"), "brown"),
                                               ("dnd", _("DND"), "red"),
                                               ("xa", _("Away"), "red")]