1 # Main player Butaba class
7 # initialize our character
8 def __init__ (self
, startrow
, startcol
, imageleft
, imageright
, imagefront
, imageback
, portrait
,
9 position
=constants
.LEFT
, health
=100, magic
=1, experience
=1, strength
=1, gold
=0, inventory
= []):
10 self
.position
= position
11 self
.imageleft
= imageleft
12 self
.imageright
= imageright
13 self
.imagefront
= imagefront
14 self
.imageback
= imageback
15 self
.portrait
= portrait
19 self
.experience
= experience
20 self
.strength
= strength
22 self
.objects
= inventory