class

PointClickEngine::Core::AchievementManager

Inherits Reference < Object

Constructors

new(save_file : String = "achievements.yaml")
Source

Instance methods

achievements
Source
achievements=(achievements : Hash(String, Achievement))
Source
draw
Source
get_progress
Source
is_unlocked?(id : String) : Bool
Source
load_progress
Source
notification_duration
Source
notification_duration=(notification_duration : Float32)
Source
register(id : String, name : String, description : String, hidden : Bool = false)
Source
save_file
Source
save_file=(save_file : String)
Source
save_progress
Source
unlock(id : String) : Bool
Source
update(dt : Float32)
Source

Nested types