pario 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pario.rb +2 -4
- data/lib/pario/version.rb +1 -1
- data/pario.gemspec +1 -1
- metadata +3 -3
data/lib/pario.rb
CHANGED
@@ -4,7 +4,7 @@ require 'ostruct'
|
|
4
4
|
require 'erb'
|
5
5
|
|
6
6
|
class Pario
|
7
|
-
Version = '0.3.
|
7
|
+
Version = '0.3.4'
|
8
8
|
Directories = %w{game lib media config}
|
9
9
|
|
10
10
|
attr_reader :options, :command, :game_name, :arguments
|
@@ -155,10 +155,9 @@ main_template.result(binding)
|
|
155
155
|
|
156
156
|
def game_class
|
157
157
|
game_template = ERB.new <<-EOF
|
158
|
-
class #{game_name_upcase} <
|
158
|
+
class #{game_name_upcase} < Gosu::Window
|
159
159
|
def initialize(window_width, window_height)
|
160
160
|
super(window_width,window_height,0)
|
161
|
-
@background_image = background_image('media/pario_background.png')
|
162
161
|
end
|
163
162
|
|
164
163
|
def update
|
@@ -167,7 +166,6 @@ class #{game_name_upcase} < Main
|
|
167
166
|
end
|
168
167
|
|
169
168
|
def draw
|
170
|
-
@background_image.draw 0,0,0
|
171
169
|
# Code to draw what you see goes here
|
172
170
|
# TODO: Need more details
|
173
171
|
end
|
data/lib/pario/version.rb
CHANGED
data/pario.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'pario/version'
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = 'pario'
|
9
|
-
s.version = '0.3.
|
9
|
+
s.version = '0.3.4'
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.authors = ['Bill Davenport', 'Anthony Burns']
|
12
12
|
s.email = ['bill@infoether.com', 'anthony@infoether.com']
|
metadata
CHANGED