mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-19 09:26:25 +00:00
f79782bea9
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io> Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
27 lines
588 B
Plaintext
27 lines
588 B
Plaintext
@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, volume : int)
|
|
# spawnParticles(particleType : String, count : int)
|
|
}
|
|
}
|
|
GroundDive --|> Superpower
|
|
SkyLaunch --|> Superpower
|
|
@enduml |