mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 03:01:12 +00:00
Classes created.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.iluwatar;
|
||||
|
||||
public abstract class Action {
|
||||
|
||||
private ActionType type;
|
||||
|
||||
public Action(ActionType type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public ActionType getType() {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user