comparison demos/rpg/scripts/actors/player.py @ 516:d70fc46c8aa5

Added some placeholder graphics for the warrior. The player can now walk around the map.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 25 May 2010 21:41:59 +0000
parents edf5c0cf52f3
children e4cd18a179af
comparison
equal deleted inserted replaced
515:520bd1621644 516:d70fc46c8aa5
25 # This is the rio de hola client for FIFE. 25 # This is the rio de hola client for FIFE.
26 26
27 import sys, os, re, math, random, shutil 27 import sys, os, re, math, random, shutil
28 28
29 from fife import fife 29 from fife import fife
30 from scripts.actors.baseactor import Actor 30 from scripts.actors.baseactor import Actor, ActorStates
31 31
32 class Player(Actor): 32 class Player(Actor):
33 def __init__(self, gamecontroller, playermodelname): 33 def __init__(self, gamecontroller, playermodelname):
34 super(Player, self).__init__(gamecontroller, playermodelname, "player", True) 34 super(Player, self).__init__(gamecontroller, playermodelname, "player", True)
35 self._playermodelname = playermodelname 35 self._playermodelname = playermodelname