Class enchant.avatar.AvatarCharacter
- Defined in: avatar.enchant.js
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.avatar.AvatarCharacter(width, height)
Constructor of AvatarCharacter
|
Field Attributes | Field Name and Description |
---|---|
Name of animation pattern;
|
|
Frame number of animation
|
|
Array of animation patterns
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
left()
Flip to left
|
|
right()
Flip to right
|
Class Detail
enchant.avatar.AvatarCharacter(width, height)
Constructor of AvatarCharacter
- Parameters:
- width
- height
Field Detail
action
Name of animation pattern;
animFrame
Frame number of animation
animPattern
Array of animation patterns
Method Detail
-
left()Flip to left
-
right()Flip to right