本文整理汇总了Java中com.watabou.noosa.Group.bringToFront方法的典型用法代码示例。如果您正苦于以下问题:Java Group.bringToFront方法的具体用法?Java Group.bringToFront怎么用?Java Group.bringToFront使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.watabou.noosa.Group
的用法示例。
在下文中一共展示了Group.bringToFront方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: hit
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void hit(int pos, float angle) {
Group parent = Dungeon.hero.sprite.parent;
Wound w = (Wound) parent.recycle(Wound.class);
parent.bringToFront(w);
w.reset(pos);
w.angle = angle;
}
示例2: hit
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void hit( int pos, float angle ) {
Group parent = Dungeon.hero.sprite.parent;
Wound w = (Wound)parent.recycle( Wound.class );
parent.bringToFront( w );
w.reset( pos );
w.angle = angle;
}
示例3: hit
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void hit(int pos, float angle) {
Group parent = Dungeon.hero.sprite.parent;
Wound w = (Wound) parent.recycle(Wound.class);
parent.bringToFront(w);
w.reset(pos);
w.angle = angle;
}
示例4: hit
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void hit(int pos, float angle) {
Group parent = Dungeon.hero.sprite.parent;
Surprise s = (Surprise) parent.recycle(Surprise.class);
parent.bringToFront(s);
s.reset(pos);
s.angle = angle;
}
示例5: hit
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void hit( int pos, float angle ) {
Group parent = Dungeon.hero.getSprite().getParent();
Devour w = (Devour)parent.recycle( Devour.class );
parent.bringToFront( w );
w.reset( pos );
w.angle = angle;
}
示例6: hit
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void hit( int pos, float angle ) {
Group parent = Dungeon.hero.getSprite().getParent();
Wound w = (Wound)parent.recycle( Wound.class );
parent.bringToFront( w );
w.reset( pos );
w.angle = angle;
}
示例7: blast
import com.watabou.noosa.Group; //导入方法依赖的package包/类
public static void blast(int pos) {
Group parent = Dungeon.hero.sprite.parent;
BlastWave b = (BlastWave) parent.recycle(BlastWave.class);
parent.bringToFront(b);
b.reset(pos);
}