CaseAnimation

class labpyproject.apps.labpyrinthe.bus.model.core_matrix.CaseAnimation(animdict)[source]

Bases : labpyproject.apps.labpyrinthe.bus.model.core_matrix.Case

Case temporaire dédiée aux animations

Constructeur de la case Animation

Attributes Summary

ANIM_FACE

changement d’apparence

ANIM_MOVE

animation de mouvement

Methods Summary

apply_animation_step(step)

Applique la transformation associée au pas d’animation global step (0 à n)

create_uid()

Génère un id unique pour une case animation

get_default_dict()

Méthode statique retournant le dict par défaut attendu par le constructeur

get_properties_dict([full])

Retourne ses paramètres sous forme de dict

Attributes Documentation

ANIM_FACE = 'ANIM_FACE'

changement d’apparence

ANIM_MOVE = 'ANIM_MOVE'

animation de mouvement

Methods Documentation

apply_animation_step(step)[source]

Applique la transformation associée au pas d’animation global step (0 à n)

classmethod create_uid()[source]

Génère un id unique pour une case animation

classmethod get_default_dict()[source]

Méthode statique retournant le dict par défaut attendu par le constructeur

get_properties_dict(full=True)[source]

Retourne ses paramètres sous forme de dict