本文整理汇总了Java中com.watabou.noosa.Image.point方法的典型用法代码示例。如果您正苦于以下问题:Java Image.point方法的具体用法?Java Image.point怎么用?Java Image.point使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.watabou.noosa.Image
的用法示例。
在下文中一共展示了Image.point方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: discover
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void discover(int pos, int oldValue) {
final Image tile = tile(oldValue);
tile.point(tileToWorld(pos));
// For bright mode
tile.rm = tile.gm = tile.bm = rm;
tile.ra = tile.ga = tile.ba = ra;
parent.add(tile);
parent.add(new AlphaTweener(tile, 0, 0.6f) {
@Override
protected void onComplete() {
tile.killAndErase();
killAndErase();
}
});
}
示例2: growPlant
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void growPlant( final int pos ){
final Image plant = tile( pos, map[pos] );
plant.origin.set( 8, 12 );
plant.scale.set( 0 );
plant.point( DungeonTilemap.tileToWorld( pos ) );
parent.add( plant );
parent.add( new ScaleTweener( plant, new PointF(1, 1), 0.2f ) {
protected void onComplete() {
plant.killAndErase();
killAndErase();
updateMapCell(pos);
}
} );
}
示例3: discover
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void discover( int pos, int oldValue ) {
final Image tile = tile( oldValue );
tile.point( tileToWorld( pos ) );
// For bright mode
tile.rm = tile.gm = tile.bm = rm;
tile.ra = tile.ga = tile.ba = ra;
parent.add( tile );
parent.add( new AlphaTweener( tile, 0, 0.6f ) {
protected void onComplete() {
tile.killAndErase();
killAndErase();
};
} );
}
示例4: discover
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void discover( int pos, int oldValue ) {
final Image tile = tile( oldValue );
tile.point( tileToWorld( pos ) );
// For bright mode
tile.rm = tile.gm = tile.bm = rm;
tile.ra = tile.ga = tile.ba = ra;
parent.add( tile );
parent.add( new AlphaTweener( tile, 0, 0.6f ) {
protected void onComplete() {
tile.killAndErase();
killAndErase();
}
} );
}
示例5: discover
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void discover( int pos, int oldValue ) {
final Image tile = tile( oldValue );
tile.point( tileToWorld( pos ) );
// For bright mode
tile.rm = tile.gm = tile.bm = rm;
tile.ra = tile.ga = tile.ba = ra;
parent.add( tile );
parent.add( new AlphaTweener( tile, 0, 0.6f ) {
protected void onComplete() {
tile.killAndErase();
killAndErase();
};
} );
}
示例6: discover
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void discover(int pos, int oldValue) {
final Image tile = tile(oldValue);
tile.point(tileToWorld(pos));
// For bright mode
tile.rm = tile.gm = tile.bm = rm;
tile.ra = tile.ga = tile.ba = ra;
parent.add(tile);
parent.add(new AlphaTweener(tile, 0, 0.6f) {
protected void onComplete() {
tile.killAndErase();
killAndErase();
}
;
});
}
示例7: discover
import com.watabou.noosa.Image; //导入方法依赖的package包/类
public void discover( int pos, int oldValue ) {
final Image tile = tile( pos, oldValue );
tile.point( tileToWorld( pos ) );
parent.add( tile );
parent.add( new AlphaTweener( tile, 0, 0.6f ) {
protected void onComplete() {
tile.killAndErase();
killAndErase();
};
} );
}