allow public uses of structs; add sample program
This commit is contained in:
@@ -67,7 +67,7 @@ pub fn avatar() -> Avatar {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn sprite() -> Sprite {
|
||||
pub fn sprite() -> Sprite {
|
||||
Sprite {
|
||||
id: "a".to_string(),
|
||||
name: Some("hatch".to_string()),
|
||||
@@ -158,7 +158,7 @@ pub fn room() -> Room {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn game_default() -> Game {
|
||||
pub fn game_default() -> Game {
|
||||
Game {
|
||||
name: "Write your game's title here".to_string(),
|
||||
version: 6.5,
|
||||
|
||||
Reference in New Issue
Block a user