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 CHANGED
@@ -4,7 +4,7 @@ require 'ostruct'
4
4
  require 'erb'
5
5
 
6
6
  class Pario
7
- Version = '0.3.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} < Main
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
@@ -1,3 +1,3 @@
1
1
  module Pario #:nodoc:
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
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.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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pario
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bill Davenport