Debug commands now affect game

This commit is contained in:
2019-08-07 17:58:30 -05:00
parent 3e6ff5bd4a
commit 3eb34d023e
10 changed files with 21 additions and 29 deletions

View File

@@ -5,7 +5,7 @@ class IMICFPS
"<c=ff5555>#{string}</c>"
end
def self.warn(string)
"<c=ff5500>#{string}</c>"
"<c=ff7700>#{string}</c>"
end
def self.notice(string)
"<c=55ff55>#{string}</c>"

View File

@@ -10,13 +10,13 @@ class IMICFPS
end
def setup
$debug = self
set(:skydome, true)
subcommand(:boundingboxes, :boolean)
subcommand(:wireframe, :boolean)
subcommand(:fps, :boolean)
subcommand(:stats, :boolean)
subcommand(:motd, :string)
subcommand(:mode, :integer)
subcommand(:gravity, :decimal)
subcommand(:skydome, :boolean)
end
def handle(arguments, console)