struct MonsterMaze::Circle

Defined in:

monster_maze/circle.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(radius : Int32) #

[View source]

Instance Method Detail

def collides?(cx, cy, other : Circle, other_cx, other_cy) #

with other Circle (other.radius, other_cx, other_cy)


[View source]
def collides?(cx, cy, box : Box, x, y) #

with Box (box.size, x, y)


[View source]
def draw(window : SF::RenderWindow, cx, cy) #

[View source]
def radius : Int32 #

[View source]
def radius=(radius : Int32) #

[View source]