module CrystalGauntlet::Templates

Extended Modules

Defined in:

lib/templates.cr

Constant Summary

DEMON_DIFFICULTIES = StaticArray["easy", "medium", "hard", "insane", "extreme"]
DIFFICULTIES = StaticArray["auto", "easy", "normal", "hard", "harder", "insane", "demon"]

Macro Summary

Instance Method Summary

Macro Detail

macro auth #

[View source]
macro dir_header #

[View source]

Instance Method Detail

def footer #

[View source]
def get_difficulty_icon(difficulty : LevelDifficulty | Nil, featured : Bool = false, epic : Bool = false, demon_difficulty : DemonDifficulty | Nil = DemonDifficulty::Hard) #

[View source]