diff --git a/SMIMS_2026_1.iml b/SMIMS_2026_1.iml new file mode 100644 index 0000000..64e33b5 --- /dev/null +++ b/SMIMS_2026_1.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/fighter/MyWorld.class b/fighter/MyWorld.class new file mode 100644 index 0000000..4ee4357 Binary files /dev/null and b/fighter/MyWorld.class differ diff --git a/fighter/MyWorld.ctxt b/fighter/MyWorld.ctxt new file mode 100644 index 0000000..c854747 --- /dev/null +++ b/fighter/MyWorld.ctxt @@ -0,0 +1,7 @@ +#BlueJ class context +comment0.target=MyWorld +comment0.text=\r\n\ Write\ a\ description\ of\ class\ MyWorld\ here.\r\n\ \r\n\ @author\ (your\ name)\ \r\n\ @version\ (a\ version\ number\ or\ a\ date)\r\n +comment1.params= +comment1.target=MyWorld() +comment1.text=\r\n\ Constructor\ for\ objects\ of\ class\ MyWorld.\r\n\ \r\n +numComments=2 diff --git a/fighter/MyWorld.java b/fighter/MyWorld.java new file mode 100644 index 0000000..3b3080b --- /dev/null +++ b/fighter/MyWorld.java @@ -0,0 +1,21 @@ +import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) + +/** + * Write a description of class MyWorld here. + * + * @author (your name) + * @version (a version number or a date) + */ +public class MyWorld extends World +{ + + /** + * Constructor for objects of class MyWorld. + * + */ + public MyWorld() + { + // Create a new world with 600x400 cells with a cell size of 1x1 pixels. + super(600, 400, 1); + } +} diff --git a/fighter/README.TXT b/fighter/README.TXT new file mode 100644 index 0000000..7342ea5 --- /dev/null +++ b/fighter/README.TXT @@ -0,0 +1,12 @@ +------------------------------------------------------------------------ +This is the project README file. Here, you should describe your project. +Tell the reader (someone who does not know anything about this project) +all they need to know. The comments should usually include at least: +------------------------------------------------------------------------ + +PROJECT TITLE: +PURPOSE OF PROJECT: +VERSION or DATE: +HOW TO START THIS PROJECT: +AUTHORS: +USER INSTRUCTIONS: diff --git a/fighter/images/castle.png b/fighter/images/castle.png new file mode 100644 index 0000000..c495105 Binary files /dev/null and b/fighter/images/castle.png differ diff --git a/fighter/images/crumpled-paper.jpg b/fighter/images/crumpled-paper.jpg new file mode 100644 index 0000000..de07ed8 Binary files /dev/null and b/fighter/images/crumpled-paper.jpg differ diff --git a/fighter/images/space.jpg b/fighter/images/space.jpg new file mode 100644 index 0000000..0440d52 Binary files /dev/null and b/fighter/images/space.jpg differ diff --git a/fighter/player.class b/fighter/player.class new file mode 100644 index 0000000..3487834 Binary files /dev/null and b/fighter/player.class differ diff --git a/fighter/player.ctxt b/fighter/player.ctxt new file mode 100644 index 0000000..3c27fb3 --- /dev/null +++ b/fighter/player.ctxt @@ -0,0 +1,9 @@ +#BlueJ class context +comment0.target=player +comment0.text=\r\n\ Write\ a\ description\ of\ class\ player\ here.\r\n\ \r\n\ @author\ (your\ name)\ \r\n\ @version\ (a\ version\ number\ or\ a\ date)\r\n +comment1.params= +comment1.target=void\ act() +comment1.text=\r\n\ Act\ -\ do\ whatever\ the\ player\ wants\ to\ do.\ This\ method\ is\ called\ whenever\r\n\ the\ 'Act'\ or\ 'Run'\ button\ gets\ pressed\ in\ the\ environment.\r\n +comment2.params= +comment2.target=void\ bewegung() +numComments=3 diff --git a/fighter/player.java b/fighter/player.java new file mode 100644 index 0000000..f5d7cae --- /dev/null +++ b/fighter/player.java @@ -0,0 +1,25 @@ +import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) + +/** + * Write a description of class player here. + * + * @author (your name) + * @version (a version number or a date) + */ +public class player extends Actor +{ + /** + * Act - do whatever the player wants to do. This method is called whenever + * the 'Act' or 'Run' button gets pressed in the environment. + */ + public void act() + { + + } + + public void bewegung(){ + if(Greenfoot.isKeyDown("d")){ + move(5); + } + } +} diff --git a/fighter/project.greenfoot b/fighter/project.greenfoot new file mode 100644 index 0000000..cc3105e --- /dev/null +++ b/fighter/project.greenfoot @@ -0,0 +1,49 @@ +#Greenfoot project file +class.MyWorld.image=space.jpg +editor.fx.0.height=737 +editor.fx.0.width=814 +editor.fx.0.x=151 +editor.fx.0.y=86 +height=686 +package.numDependencies=0 +package.numTargets=3 +project.charset=UTF-8 +publish.hasSource=false +publish.locked=true +publish.longDesc= +publish.shortDesc= +publish.tags= +publish.title= +publish.url= +readme.height=60 +readme.name=@README +readme.width=48 +readme.x=10 +readme.y=10 +simulation.speed=48 +target1.height=70 +target1.name=startScreen +target1.showInterface=false +target1.type=ClassTarget +target1.width=120 +target1.x=0 +target1.y=0 +target2.height=70 +target2.name=MyWorld +target2.showInterface=false +target2.type=ClassTarget +target2.width=120 +target2.x=0 +target2.y=0 +target3.height=70 +target3.name=player +target3.showInterface=false +target3.type=ClassTarget +target3.width=120 +target3.x=0 +target3.y=0 +version=3.1.0 +width=1294 +world.lastInstantiated=MyWorld +xPosition=0 +yPosition=0 diff --git a/fighter/startScreen.class b/fighter/startScreen.class new file mode 100644 index 0000000..dfeb667 Binary files /dev/null and b/fighter/startScreen.class differ diff --git a/fighter/startScreen.ctxt b/fighter/startScreen.ctxt new file mode 100644 index 0000000..44cbaf6 --- /dev/null +++ b/fighter/startScreen.ctxt @@ -0,0 +1,7 @@ +#BlueJ class context +comment0.target=startScreen +comment0.text=\r\n\ Write\ a\ description\ of\ class\ startScreen\ here.\r\n\ \r\n\ @author\ (your\ name)\ \r\n\ @version\ (a\ version\ number\ or\ a\ date)\r\n +comment1.params= +comment1.target=startScreen() +comment1.text=\r\n\ Constructor\ for\ objects\ of\ class\ startScreen.\r\n\ \r\n +numComments=2 diff --git a/fighter/startScreen.java b/fighter/startScreen.java new file mode 100644 index 0000000..a130f07 --- /dev/null +++ b/fighter/startScreen.java @@ -0,0 +1,21 @@ +import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) + +/** + * Write a description of class startScreen here. + * + * @author (your name) + * @version (a version number or a date) + */ +public class startScreen extends World +{ + + /** + * Constructor for objects of class startScreen. + * + */ + public startScreen() + { + // Create a new world with 600x400 cells with a cell size of 1x1 pixels. + super(600, 400, 1); + } +}