• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java EaseLinear类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.andengine.util.modifier.ease.EaseLinear的典型用法代码示例。如果您正苦于以下问题:Java EaseLinear类的具体用法?Java EaseLinear怎么用?Java EaseLinear使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



EaseLinear类属于org.andengine.util.modifier.ease包,在下文中一共展示了EaseLinear类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: show

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void show(){
    clearEntityModifiers();
    int over = 4;
    if(current -1 == GameManager.getInstance().currentPlayer){
       over = 2;
    }
    this.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION,this.getX(),GameActivity.WORLD_WIDTH-this.getWidth()/over, EaseLinear.getInstance()));
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:9,代码来源:TabSprite.java


示例2: show

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void show(){
    if(!locked) {
        clearEntityModifiers();
        if(!force) {
            showTab();
        }
        this.registerEntityModifier(
                new MoveYModifier(Constants.ANIMATION_DURATION, this.getY(), GameActivity.WORLD_HEIGHT - GameActivity.WORLD_HEIGHT / 3,
                        EaseLinear.getInstance()
                ));
        GameManager.getInstance().hideTabs();
        visible = true;
    }
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:15,代码来源:NoteBookSprite.java


示例3: hide

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void hide(){
    if(justShow){
        left.hide();
        right.hide();
    }
    justShow = false;
    if(!locked) {
        hideScoreButtons();
        clearEntityModifiers();
        hideTab();
        this.registerEntityModifier(new MoveYModifier(Constants.ANIMATION_DURATION, this.getY(), GameActivity.WORLD_HEIGHT + this.getHeight() / 2, EaseLinear.getInstance()));
        GameManager.getInstance().showTabs();
        visible = false;
    }
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:16,代码来源:NoteBookSprite.java


示例4: outTab

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void outTab(){
    if(!isTabOut) {
        isTabOut=true;
        this.tabSprite.clearEntityModifiers();
        this.tabSprite.setCurrentTileIndex(0);
        this.tabSprite.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION, this.tabSprite.getX(), -this.tabSprite.getWidth() / 2, EaseLinear.getInstance()));
    }
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:9,代码来源:NoteBookSprite.java


示例5: hide

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void hide(){
    clearEntityModifiers();
    this.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION,this.getX(),this.getWidth() + GameActivity.WORLD_WIDTH-this.getWidth()/4, EaseLinear.getInstance()));
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:5,代码来源:TabSprite.java


示例6: moveDown

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void moveDown(){
    GameManager.getInstance().hideTabs();
    GameManager.getInstance().noteBookSprite.moveOut();
    this.clearEntityModifiers();
    this.registerEntityModifier(new MoveYModifier(time, this.getY(), baseY - 270, EaseLinear.getInstance()));
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:7,代码来源:CachoSprite.java


示例7: moveUp

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void moveUp(){
    GameManager.getInstance().showTabs();
    GameManager.getInstance().noteBookSprite.moveIn();
    this.clearEntityModifiers();
    this.registerEntityModifier(new MoveYModifier(time, this.getY(), baseY, EaseLinear.getInstance()));
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:7,代码来源:CachoSprite.java


示例8: showTab

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void showTab(){
    this.tabSprite.setCurrentTileIndex(4);
    this.tabSprite.clearEntityModifiers();
    this.tabSprite.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION, this.tabSprite.getX(),this.tabSprite.getWidth() / 2, EaseLinear.getInstance()));
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:6,代码来源:NoteBookSprite.java


示例9: hideTab

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void hideTab(){
    isTabOut=false;
    this.tabSprite.clearEntityModifiers();
    this.tabSprite.setCurrentTileIndex(0);
    this.tabSprite.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION, this.tabSprite.getX(),  -25 + this.tabSprite.getWidth() / 2, EaseLinear.getInstance()));
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:7,代码来源:NoteBookSprite.java


示例10: moveIn

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void moveIn() {
    if(!GameManager.getInstance().cachoSprite.haveDiceToRoll()) {
        this.tabSprite.clearEntityModifiers();
        this.tabSprite.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION, this.tabSprite.getX(), -25 + this.tabSprite.getWidth() / 2, EaseLinear.getInstance()));
    }
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:7,代码来源:NoteBookSprite.java


示例11: moveOut

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public void moveOut() {
    if(!locked) {
        this.tabSprite.clearEntityModifiers();
        this.tabSprite.registerEntityModifier(new MoveXModifier(Constants.ANIMATION_DURATION, this.tabSprite.getX(), -this.tabSprite.getWidth() / 2, EaseLinear.getInstance()));
    }
}
 
开发者ID:viniciusDSL,项目名称:One-Cachito,代码行数:7,代码来源:NoteBookSprite.java


示例12: BaseSingleValueSpanParticleModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public BaseSingleValueSpanParticleModifier(final float pFromTime, final float pToTime, final float pFromValue, final float pToValue) {
	this(pFromTime, pToTime, pFromValue, pToValue, EaseLinear.getInstance());
}
 
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:4,代码来源:BaseSingleValueSpanParticleModifier.java


示例13: BaseTripleValueSpanParticleModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public BaseTripleValueSpanParticleModifier(final float pFromTime, final float pToTime, final float pFromValueA, final float pToValueA, final float pFromValueB, final float pToValueB, final float pFromValueC, final float pToValueC) {
	this(pFromTime, pToTime, pFromValueA, pToValueA, pFromValueB, pToValueB, pFromValueC, pToValueC, EaseLinear.getInstance());
}
 
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:4,代码来源:BaseTripleValueSpanParticleModifier.java


示例14: MoveModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public MoveModifier(final float pDuration, final float pFromX, final float pFromY, final float pToX, final float pToY, final IEntityModifierListener pEntityModifierListener) {
	super(pDuration, pFromX, pToX, pFromY, pToY, pEntityModifierListener, EaseLinear.getInstance());
}
 
开发者ID:mediamonks,项目名称:tilt-game-android,代码行数:4,代码来源:MoveModifier.java


示例15: ScaleParticleModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public ScaleParticleModifier(final float pFromTime, final float pToTime, final float pFromScaleX, final float pToScaleX, final float pFromScaleY, final float pToScaleY) {
	this(pFromTime, pToTime, pFromScaleX, pToScaleX, pFromScaleY, pToScaleY, EaseLinear.getInstance());
}
 
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:4,代码来源:ScaleParticleModifier.java


示例16: FadeOutModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public FadeOutModifier(final float pDuration) {
	super(pDuration, 1.0f, 0.0f, EaseLinear.getInstance());
}
 
开发者ID:peterchaula,项目名称:ClassicF1,代码行数:4,代码来源:FadeOutModifier.java


示例17: JumpModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public JumpModifier(final float pDuration, final float pFromX, final float pToX, final float pFromY, final float pToY, final float pJumpHeight, final int pJumpCount, final IEntityModifierListener pEntityModifierListener) {
	this(pDuration, pFromX, pToX, pFromY, pToY, pJumpHeight, pJumpCount, pEntityModifierListener, EaseLinear.getInstance());
}
 
开发者ID:mediamonks,项目名称:tilt-game-android,代码行数:4,代码来源:JumpModifier.java


示例18: MoveYModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public MoveYModifier(final float pDuration, final float pFromY, final float pToY) {
	this(pDuration, pFromY, pToY, null, EaseLinear.getInstance());
}
 
开发者ID:mediamonks,项目名称:tilt-game-android,代码行数:4,代码来源:MoveYModifier.java


示例19: FadeInModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public FadeInModifier(final float pDuration) {
	super(pDuration, 0.0f, 1.0f, EaseLinear.getInstance());
}
 
开发者ID:peterchaula,项目名称:ClassicF1,代码行数:4,代码来源:FadeInModifier.java


示例20: CardinalSplineMoveModifier

import org.andengine.util.modifier.ease.EaseLinear; //导入依赖的package包/类
public CardinalSplineMoveModifier(final float pDuration, final CardinalSplineMoveModifierConfig pCardinalSplineMoveModifierConfig, final IEntityModifierListener pEntityModifierListener) {
	this(pDuration, pCardinalSplineMoveModifierConfig, pEntityModifierListener, EaseLinear.getInstance());
}
 
开发者ID:mediamonks,项目名称:tilt-game-android,代码行数:4,代码来源:CardinalSplineMoveModifier.java



注:本文中的org.andengine.util.modifier.ease.EaseLinear类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java MasterKeyProtoOrBuilder类代码示例发布时间:2022-05-22
下一篇:
Java Issuable类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap