-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add event support for attribute value changed as well as modifier cha…
…nges
- Loading branch information
1 parent
39f4240
commit 317830b
Showing
7 changed files
with
171 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
litiengine/src/main/java/de/gurkenlabs/litiengine/attributes/AttributeModifierListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package de.gurkenlabs.litiengine.attributes; | ||
|
||
import java.util.EventListener; | ||
|
||
@FunctionalInterface | ||
public interface AttributeModifierListener extends EventListener { | ||
void modifierChanged(); | ||
} |
8 changes: 8 additions & 0 deletions
8
litiengine/src/main/java/de/gurkenlabs/litiengine/attributes/AttributeValueListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package de.gurkenlabs.litiengine.attributes; | ||
|
||
import java.util.EventListener; | ||
|
||
@FunctionalInterface | ||
public interface AttributeValueListener extends EventListener { | ||
void valueChanged(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.