gma.platform

Provides a base platform object

Package gma/entities/platform
Inheritance chain gma.shapes.rectangle
Descendants gma.deathPlatform

Tags

shape, platform

Methods

collided (where, focus, focusSide, focusVector)

Does super.collided checks and also looks for the deathtouch tag

Overrides gma.shapes.rectangle.collided

Parameters
where gma.constant Side of this object that was collided with
focus object Thing we collided with
focusSide gma.constant Side of the focus object that was collided with
focusVector [x,y] Amount focus is trying to move

Table Of Contents

Fork me on GitHub