class MonsterMaze::OilPool

Defined in:

monster_maze/oil_pool.cr

Constant Summary

ActionRadius = 72
ActiveRefreshTime = 10.seconds
EmptyThreshold = 0.75
MaxOilAlpha = 255

Constructors

Instance Method Summary

Constructor Detail

def self.new(row, col) #

[View source]

Instance Method Detail

def cx : Int32 #

[View source]
def cy : Int32 #

[View source]
def dip! #

[View source]
def draw(window : SF::RenderWindow, fill_sprite : SF::Sprite) #

[View source]
def draw_action_circle(window) #

[View source]
def draw_refilling(window, fill_sprite) #

[View source]
def empty? #

[View source]
def radius #

[View source]