OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSprite
(Results
1 - 6
of
6
) sorted by null
/external/replicaisland/src/com/replica/replicaisland/
GenericAnimationComponent.java
20
private SpriteComponent
mSprite
;
30
mSprite
= null;
35
if (
mSprite
!= null) {
43
mSprite
.playAnimation(Animation.IDLE);
46
mSprite
.playAnimation(Animation.MOVE);
49
mSprite
.playAnimation(Animation.ATTACK);
52
mSprite
.playAnimation(Animation.HIT_REACT);
55
mSprite
.playAnimation(Animation.DEATH);
58
mSprite
.playAnimation(Animation.HIDE);
61
mSprite
.playAnimation(Animation.FROZEN)
[
all
...]
DoorAnimationComponent.java
39
private SpriteComponent
mSprite
;
55
mSprite
= null;
65
if (
mSprite
!= null) {
66
final float openAnimationLength =
mSprite
.findAnimation(Animation.OPENING).getLength();
72
mSprite
.playAnimation(Animation.OPEN);
84
timeOffset = openAnimationLength -
mSprite
.getCurrentAnimationTime();
92
mSprite
.playAnimation(Animation.OPENING);
93
mSprite
.setCurrentAnimationTime(timeOffset);
106
if (
mSprite
!= null) {
107
final float closeAnimationLength =
mSprite
.findAnimation(Animation.CLOSING).getLength()
[
all
...]
ButtonAnimationComponent.java
28
private SpriteComponent
mSprite
;
41
mSprite
= null;
49
if (
mSprite
!= null) {
54
if (
mSprite
.getCurrentAnimation() == Animation.UP) {
60
mSprite
.playAnimation(Animation.DOWN);
68
mSprite
.playAnimation(Animation.UP);
75
mSprite
= sprite;
EnemyAnimationComponent.java
44
private SpriteComponent
mSprite
;
58
mSprite
= null;
63
if (
mSprite
!= null) {
71
mSprite
.playAnimation(EnemyAnimations.IDLE.ordinal());
87
mSprite
.playAnimation(EnemyAnimations.MOVE.ordinal());
106
mSprite
.playAnimation(EnemyAnimations.ATTACK.ordinal());
108
&&
mSprite
.animationFinished()) {
113
mSprite
.playAnimation(EnemyAnimations.HIDDEN.ordinal());
123
mSprite
.playAnimation(EnemyAnimations.APPEAR.ordinal());
124
if (
mSprite
.animationFinished())
[
all
...]
AnimationComponent.java
48
private SpriteComponent
mSprite
;
86
mSprite
= null;
107
if (
mSprite
!= null) {
218
mSprite
.playAnimation(PlayerAnimations.IDLE.ordinal());
220
mSprite
.playAnimation(PlayerAnimations.MOVE_FAST.ordinal());
222
mSprite
.playAnimation(PlayerAnimations.MOVE.ordinal());
241
mSprite
.playAnimation(PlayerAnimations.BOOST_UP.ordinal());
243
mSprite
.playAnimation(PlayerAnimations.BOOST_MOVE_FAST.ordinal());
245
mSprite
.playAnimation(PlayerAnimations.BOOST_MOVE.ordinal());
250
mSprite
.playAnimation(PlayerAnimations.IDLE.ordinal())
[
all
...]
NPCAnimationComponent.java
43
private SpriteComponent
mSprite
;
61
mSprite
= null;
68
if (
mSprite
!= null) {
115
mSprite
.playAnimation(mCurrentAnimation);
172
&&
mSprite
.findAnimation(TAKE_HIT) != null) {
179
if (
mSprite
.findAnimation(RUN_START) != null) {
248
if (
mSprite
.animationFinished()) {
285
if (
mSprite
.animationFinished() || parentObject.getCurrentAction() != ActionType.ATTACK) {
312
if (
mSprite
.animationFinished()) {
348
if (
mSprite
.animationFinished())
[
all
...]
Completed in 398 milliseconds