Fork me on GitHub
View source

package com.haxepunk.masks

class Circle


extends Hitbox

Uses circular area to determine collision.

Constructor

View source

new (radius : Int = 1, x : Int = 0, y : Int = 0) : Void

Constructor.


Parameters:
radius   

Radius of the circle.

x   

X offset of the circle.

y   

Y offset of the circle.

Variables

radius : Int

Radius.