当前位置: 首页>>代码示例>>Java>>正文


Java Visual类代码示例

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


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

示例1: JumpTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public JumpTweener(Visual visual, PointF pos, float height, float time) {
	super(visual, time);

	this.visual = visual;
	start = visual.point();
	end = pos;

	this.height = height;
}
 
开发者ID:G2159687,项目名称:ESPD,代码行数:10,代码来源:CharSprite.java

示例2: show

import com.watabou.noosa.Visual; //导入依赖的package包/类
public Flare show(Visual visual, float duration) {
	point(visual.center());
	visual.parent.addToBack(this);

	lifespan = this.duration = duration;

	return this;
}
 
开发者ID:G2159687,项目名称:ESPD,代码行数:9,代码来源:Flare.java

示例3: AlphaTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public AlphaTweener(Visual image, float alpha, float time) {
	super(image, time);

	this.image = image;
	start = image.alpha();
	delta = alpha - start;
}
 
开发者ID:G2159687,项目名称:ESPD,代码行数:8,代码来源:AlphaTweener.java

示例4: ScaleTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public ScaleTweener(Visual visual, PointF scale, float time) {
	super(visual, time);

	this.visual = visual;
	start = visual.scale;
	end = scale;
}
 
开发者ID:G2159687,项目名称:ESPD,代码行数:8,代码来源:ScaleTweener.java

示例5: PosTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public PosTweener(Visual visual, PointF pos, float time) {
	super(visual, time);

	this.visual = visual;
	start = visual.point();
	end = pos;
}
 
开发者ID:G2159687,项目名称:ESPD,代码行数:8,代码来源:PosTweener.java

示例6: AlphaTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public AlphaTweener( Visual image, float alpha, float time ) {
	super( image, time );
	
	this.image = image;
	start = image.alpha();
	delta = alpha - start;
}
 
开发者ID:mango-tree,项目名称:UNIST-pixel-dungeon,代码行数:8,代码来源:AlphaTweener.java

示例7: ScaleTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public ScaleTweener( Visual visual, PointF scale, float time ) {
	super( visual, time );
	
	this.visual = visual;
	start = visual.scale;
	end = scale;
}
 
开发者ID:mango-tree,项目名称:UNIST-pixel-dungeon,代码行数:8,代码来源:ScaleTweener.java

示例8: PosTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public PosTweener( Visual visual, PointF pos, float time ) {
	super( visual, time );
	
	this.visual = visual;
	start = visual.point();
	end = pos;
}
 
开发者ID:mango-tree,项目名称:UNIST-pixel-dungeon,代码行数:8,代码来源:PosTweener.java

示例9: JumpTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public JumpTweener( Visual visual, PointF pos, float height, float time ) {
	super( visual, time );

	this.visual = visual;
	start = visual.point();
	end = pos;

	this.height = height;
}
 
开发者ID:mango-tree,项目名称:UNIST-pixel-dungeon,代码行数:10,代码来源:CharSprite.java

示例10: show

import com.watabou.noosa.Visual; //导入依赖的package包/类
public Flare show( Visual visual, float duration ) {
	point( visual.center() );
	visual.parent.addToBack( this );
	
	lifespan = this.duration = duration;
	
	return this;
}
 
开发者ID:mango-tree,项目名称:UNIST-pixel-dungeon,代码行数:9,代码来源:Flare.java

示例11: JumpTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public JumpTweener( Visual visual, PointF pos, float height, float time ) {
	super( visual, time );
	
	this.visual = visual;
	start = visual.point();
	end = pos;

	this.height = height;
}
 
开发者ID:kurtyu,项目名称:PixelDungeonTC,代码行数:10,代码来源:CharSprite.java

示例12: show

import com.watabou.noosa.Visual; //导入依赖的package包/类
public Flare show( Visual visual, float duration ) {
	point( visual.center() );
	visual.parent.addToBack( this );

	lifespan = this.duration = duration;

	return this;
}
 
开发者ID:kurtyu,项目名称:PixelDungeonTC,代码行数:9,代码来源:Flare.java

示例13: show

import com.watabou.noosa.Visual; //导入依赖的package包/类
public Flare show( Visual visual, float duration ) {
    point( visual.center() );
    visual.parent.addToBack( this );

    lifespan = this.duration = duration;

    return this;
}
 
开发者ID:ConsideredHamster,项目名称:YetAnotherPixelDungeon,代码行数:9,代码来源:Flare.java

示例14: JumpTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public JumpTweener( Visual visual, PointF pos, float height, float time ) {
    super( visual, time );

    this.visual = visual;
    start = visual.point();
    end = pos;

    this.height = height;
}
 
开发者ID:wolispace,项目名称:soft-pixel-dungeon,代码行数:10,代码来源:HeroSprite.java

示例15: AlphaTweener

import com.watabou.noosa.Visual; //导入依赖的package包/类
public AlphaTweener(Visual image, float alpha, float time) {
    super(image, time);

    this.image = image;
    start = image.alpha();
    delta = alpha - start;
}
 
开发者ID:skynet67,项目名称:pixel-dungeon-rebirth,代码行数:8,代码来源:AlphaTweener.java


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