%%{
init: {
'theme': 'base',
'themeVariables': {
'primaryColor': '#f69e9d',
'primaryTextColor': '#000',
'primaryBorderColor': '#000',
'lineColor': '#F8B229',
'secondaryColor': '#f4f4f4',
'activationBorderColor': '#000',
'tertiaryColor': '#fff'
}
}
}%%
classDiagram
Kara <|-- MyKara
Actor <|-- Kara
class Actor{
-int x
-int y
-int rotation
+int getX()
+int getY()
+int getRotation()
}
class Kara{
void move()
void turnLeft()
void turnRight()
void putLeaf()
void removeLeaf()
boolean onLeaf()
boolean treeFront()
boolean treeLeft()
boolean treeRight()
boolean mushroomFront()
}
class MyKara{
void act()
}
These are the Greenfoot Kara Scenarios for Worksheet 1 and 2.
htw-imi-info1/kara
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
These are the Greenfoot Kara Scenarios for Worksheet 1 and 2.
Resources
Stars
Watchers
Forks
Packages 0
No packages published