mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 10:58:51 +00:00
18 lines
283 B
Java
18 lines
283 B
Java
package com.iluwatar;
|
|
|
|
public class GoblinGlider {
|
|
|
|
public void attachGlider() {
|
|
System.out.println("glider attached");
|
|
}
|
|
|
|
public void gainSpeed() {
|
|
System.out.println("gaining speed");
|
|
}
|
|
|
|
public void takeOff() {
|
|
System.out.println("lift-off!");
|
|
}
|
|
|
|
}
|