class SnakeGame::ImageDatabase

Class providing images to other classes

Attributes

bait[RW]
head[RW]
tail[RW]

Public Class Methods

new() click to toggle source
# File lib/image_database.rb, line 7
def initialize
  # puts Dir.pwd
  @head = Gosu::Image.new('lib/images/head.png')
  @tail = Gosu::Image.new('lib/images/tail.png')
  @bait = Gosu::Image.new('lib/images/bait.png')
end