dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Sprite.collideWith
Dgame
Graphics
Sprite
Sprite
Check whether the bounding box of this Sprite collide with the given Rect
bool
collideWith
(Sprite rhs)
bool
collideWith
(ShortRect rect)
class
Sprite
const
bool
collideWith
(
ref
const
ShortRect
rect
)
bool
collideWith
(ShortRect rect)
Meta
Source
See Implementation
Dgame
Graphics
Sprite
Sprite
constructors
this
functions
_getTextureCoordinates
_render
calculateCenter
collideWith
getBlend
getClipRect
getTexture
hasTexture
setBlend
setTexture
properties
height
width
variables
_blend
_tex
Check whether the bounding box of this Sprite collide with the given Rect