-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: create events and sub-event categories
A bunch of pandora entities and more implementation in place.
- Loading branch information
1 parent
f91b2a1
commit 4eb262a
Showing
10 changed files
with
173 additions
and
18 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@tool | ||
extends PandoraEntity | ||
class_name Event | ||
|
||
func get_display_name() -> String: | ||
return get_string("display_name") | ||
|
||
func get_timestamp_string() -> String: | ||
return get_string("timestamp_string") | ||
|
||
func get_timestamp_float() -> float: | ||
return get_float("timestamp_float") | ||
|
||
func data(): | ||
return { | ||
name=get_display_name(), | ||
} |
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,11 @@ | ||
@tool | ||
extends Event | ||
class_name PuzzleSetCompleted | ||
|
||
func get_puzzle_set() -> PuzzleSet: | ||
return get_resource("puzzle_set") | ||
|
||
func data(): | ||
var d = super.data() | ||
d.merge({puzzle_set=get_puzzle_set(),}) | ||
return d |
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,11 @@ | ||
@tool | ||
extends Event | ||
class_name PuzzleSetUnlocked | ||
|
||
func get_puzzle_set() -> PuzzleSet: | ||
return get_resource("puzzle_set") | ||
|
||
func data(): | ||
var d = super.data() | ||
d.merge({puzzle_set=get_puzzle_set(),}) | ||
return d |
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,11 @@ | ||
@tool | ||
extends Event | ||
class_name ThemeUnlocked | ||
|
||
func get_theme() -> DotHopTheme: | ||
return get_resource("theme") | ||
|
||
func data(): | ||
var d = super.data() | ||
d.merge({theme=get_theme()}) | ||
return d |
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
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