forked from Jibo-Revival-Group/JiboOs
31 lines
746 B
JavaScript
31 lines
746 B
JavaScript
/**
|
|
* Abstract class for eye overlay and eye classes.
|
|
* @class AbstractEye
|
|
* @extends jibo.face.AbstractLayer
|
|
* @memberof jibo.face
|
|
* @param {Boolean} cache `true` to cache textures.
|
|
*/
|
|
|
|
/**
|
|
* The eye mesh.
|
|
* @name jibo.face.AbstractEye#eyeMesh
|
|
* @type {jibo.face.EyeMesh}
|
|
*/
|
|
|
|
/**
|
|
* Default eye texture when nothing is set.
|
|
* @method jibo.face.AbstractEye#init
|
|
* @param {PIXI.Texture} texture The default texture to use
|
|
*/
|
|
|
|
/**
|
|
* Destroy and don't use after this.
|
|
* @method jibo.face.AbstractEye#destroy
|
|
*/
|
|
|
|
/**
|
|
* Set current eye texture.
|
|
* @method jibo.face.AbstractEye#setTexture
|
|
* @protected
|
|
* @param {PIXI.Texture} texture Texture to set
|
|
*/ |