Skip to content

Commit

Permalink
Move images into media directory
Browse files Browse the repository at this point in the history
  • Loading branch information
semaperepelitsa committed Dec 15, 2011
1 parent a89233b commit a7ce205
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions pong.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ def render(container, graphics)
end

def init(container)
@bg = Image.new('bg.png')
@bg = Image.new('media/bg.png')

@ball = Image.new('ball.png')
@ball = Image.new('media/ball.png')
@ball_x = 200
@ball_y = 200
@ball_angle = 45

@paddle = Image.new('paddle.png')
@paddle = Image.new('media/paddle.png')
@paddle_x = 200
@paddle_y = 400
end
Expand Down

0 comments on commit a7ce205

Please sign in to comment.