本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}