Inital Import of asterisk_gosu into launcher, non-functional.

This commit is contained in:
2022-06-03 22:58:26 -05:00
parent fc968ffe32
commit c0eac0104b
12 changed files with 682 additions and 43 deletions

21
lib/asterisk/game.rb Normal file
View File

@@ -0,0 +1,21 @@
class W3DHub
class Asterisk
class Game
attr_accessor :title, :path
def initialize(hash = nil)
return unless hash
@title = hash[:title]
@path = hash[:path]
end
def to_json(options)
{
title: @title,
path: @path
}.to_json(options)
end
end
end
end