You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
419 B
Java
22 lines
419 B
Java
package greenfootReplacement;
|
|
|
|
import javafx.event.ActionEvent;
|
|
import javafx.event.EventHandler;
|
|
import javafx.scene.Scene;
|
|
import javafx.scene.layout.AnchorPane;
|
|
import javafx.stage.Stage;
|
|
|
|
public abstract class World extends Scene {
|
|
|
|
AnchorPane layout = null;
|
|
|
|
public World(int width, int height, int cellSize) {
|
|
super(new AnchorPane(), width * cellSize, height * cellSize);
|
|
|
|
}
|
|
|
|
public void act();
|
|
|
|
|
|
|
|
} |