annotate pytouhou/game/character.py @ 168:b96d835c0807

Implement Cirno’s 雪符「ダイアモンドブリザード」 spellcard.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 18 Oct 2011 14:03:18 -0700
parents 11ab06f4c4c6
children 80a4c7ed43b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
130
11ab06f4c4c6 Introduce characters!
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
1 class Character(object):
11ab06f4c4c6 Introduce characters!
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
2 def __init__(self, anm_wrapper, speed, focused_speed, hitbox_size):
11ab06f4c4c6 Introduce characters!
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
3 self.anm_wrapper = anm_wrapper
11ab06f4c4c6 Introduce characters!
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
4 self.speed = speed
11ab06f4c4c6 Introduce characters!
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
5 self.focused_speed = focused_speed
11ab06f4c4c6 Introduce characters!
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
6 self.hitbox_size = hitbox_size