B1 Informatics 1 WS 2023/24

Website of Prof. Dr. Barne Kleinen, Professor for Media Informatics (Bachelor/Master) at HTW Berlin

Kara Class Diagram

     next>

Kara Class Diagram

Kara

void move()

void turnLeft()

void turnRight()

void putLeaf()

void removeLeaf()

boolean onLeaf()

boolean treeFront()

boolean treeLeft()

boolean treeRight()

boolean mushroomFront()

MyKara

void act()

void aroundTree()

Actor

-int x

-int y

-int rotation

+int getX()

+int getY()

+int getRotation()

With Object (top of inheritance hierarchy)

Kara

void move()

void turnLeft()

void turnRight()

void putLeaf()

void removeLeaf()

boolean onLeaf()

boolean treeFront()

boolean treeLeft()

boolean treeRight()

boolean mushroomFront()

MyKara

void act()

void aroundTree()

Actor

-int x

-int y

-int rotation

+int getX()

+int getY()

+int getRotation()

Object

String toString()

...()