Nomenclatures corrections
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
extends Resource
|
||||
class_name StudentProgression
|
||||
extends Resource
|
||||
|
||||
signal unlocks_changed()
|
||||
|
||||
@@ -17,6 +17,7 @@ enum Status{
|
||||
func _init() -> void:
|
||||
init_unlocks()
|
||||
|
||||
|
||||
# Make sure the unlocks are correct
|
||||
func init_unlocks() -> void:
|
||||
if not unlocks:
|
||||
@@ -73,6 +74,7 @@ func look_and_learn_completed(lesson_number: int) -> bool:
|
||||
unlocks_changed.emit()
|
||||
return true
|
||||
|
||||
|
||||
# Return true if the progression is saved or false if the game was already completed
|
||||
func game_completed(lesson_number: int, game_number: int) -> bool:
|
||||
# If the game is already completed, do nothing
|
||||
|
||||
Reference in New Issue
Block a user