mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-04-14 14:43:33 +02:00
loadImage() als Delegate fpr ImageLoader.loadImage()
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
package schule.ngb.zm;
|
package schule.ngb.zm;
|
||||||
|
|
||||||
|
import schule.ngb.zm.util.ImageLoader;
|
||||||
|
|
||||||
|
import java.awt.image.BufferedImage;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
public class Constants {
|
public class Constants {
|
||||||
@@ -154,6 +157,10 @@ public class Constants {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static BufferedImage loadImage( String name ) {
|
||||||
|
return ImageLoader.loadImage(name);
|
||||||
|
}
|
||||||
|
|
||||||
// Mathematische Funktionen
|
// Mathematische Funktionen
|
||||||
|
|
||||||
public static double min( double... numbers ) {
|
public static double min( double... numbers ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user