本文整理汇总了Java中com.watabou.noosa.Scene.add方法的典型用法代码示例。如果您正苦于以下问题:Java Scene.add方法的具体用法?Java Scene.add怎么用?Java Scene.add使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.watabou.noosa.Scene
的用法示例。
在下文中一共展示了Scene.add方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals(Level level, Scene scene) {
for (int i = 0; i < Dungeon.level.getLength(); i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add(new Vein(i));
}
}
}
示例2: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals(Level level, Scene scene) {
for (int i = 0; i < Dungeon.level.getLength(); i++) {
if (level.map[i] == 63) {
scene.add(new Stream(i));
}
}
}
示例3: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals(Level level, Scene scene) {
for (int i = 0; i < Dungeon.level.getLength(); i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add(new Torch(i));
}
}
}
示例4: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals(Level level, Scene scene) {
for (int i = 0; i < Dungeon.level.getLength(); i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add(new Sink(i));
}
}
}
示例5: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals(Level level, Scene scene) {
for (int i = 0; i < Dungeon.level.getLength(); i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add(new Smoke(i));
}
}
}
示例6: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public void addVisuals(Scene scene) {
for (int i = 0; i < getLength(); i++) {
if (pit[i]) {
scene.add(new WindParticle.Wind(i));
if (i >= getWidth() && water[i - getWidth()]) {
scene.add(new FlowParticle.Flow(i - getWidth()));
}
}
}
}
示例7: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals(Level level, Scene scene)
{
for (int i = 0; i < LENGTH; i++)
{
if (level.map[i] == 63)
{
scene.add(new Stream(i));
}
}
}
示例8: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals( Level level, Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add( new Torch( i ) );
}
}
}
示例9: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals( Level level, Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add( new Sink( i ) );
}
}
}
示例10: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals( Level level, Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add( new Smoke( i ) );
}
}
}
示例11: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public void addVisuals( Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (pit[i]) {
scene.add( new WindParticle.Wind( i ) );
if (i >= WIDTH && water[i-WIDTH]) {
scene.add( new FlowParticle.Flow( i - WIDTH ) );
}
}
}
}
示例12: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals( Level level, Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add( new Vein( i ) );
}
}
}
示例13: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals( Level level, Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == 63) {
scene.add( new Stream( i ) );
}
}
}
示例14: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public void addVisuals( Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (chasm[i]) {
scene.add( new WindParticle.Wind( i ) );
if (i >= WIDTH && water[i-WIDTH]) {
scene.add( new FlowParticle.Flow( i - WIDTH ) );
}
} else if( map[i] == Terrain.WELL ) {
scene.add( new Fountain( i ) );
}
}
}
示例15: addVisuals
import com.watabou.noosa.Scene; //导入方法依赖的package包/类
public static void addVisuals( Level level, Scene scene ) {
for (int i=0; i < LENGTH; i++) {
if (level.map[i] == Terrain.WALL_DECO) {
scene.add( new Sink( i ) );
}
}
}