view pytouhou/game/character.py @ 188:008f90ebfdc0

Fix replay handling and add support for encrypted replays
author Thibaut Girka <thib@sitedethib.com>
date Thu, 27 Oct 2011 14:24:07 +0200
parents 80a4c7ed43b3
children
line wrap: on
line source

class Character(object):
    def __init__(self, anm_wrapper, speed, focused_speed, hitbox_size, graze_hitbox_size):
        self.anm_wrapper = anm_wrapper
        self.speed = speed
        self.focused_speed = focused_speed
        self.hitbox_size = hitbox_size
        self.graze_hitbox_size = graze_hitbox_size