java-design-patterns/subclass-sandbox/etc/subclass-sandbox.urm.puml

27 lines
588 B
Plaintext
Raw Permalink Normal View History

2019-12-07 18:03:49 +02:00
@startuml
package com.iluwatar.subclasssandbox {
class App {
- LOGGER : Logger {static}
+ App()
+ main(args : String[]) {static}
}
class GroundDive {
+ GroundDive()
# activate()
}
class SkyLaunch {
+ SkyLaunch()
# activate()
}
abstract class Superpower {
# logger : Logger
+ Superpower()
# activate() {abstract}
# move(x : double, y : double, z : double)
# playSound(soundName : String, volumn : int)
# spawnParticles(particleType : String, count : int)
}
}
GroundDive --|> Superpower
SkyLaunch --|> Superpower
@enduml