Home Reference Source Test
import CircleCollider from 'seed-engine/src/component/CircleCollider.js'
public class | source

CircleCollider

Extends:

UpdateableComponentColliderCollider2D → CircleCollider

A 2D Collider Component which can be attached to any GameObject.

A CircleCollider Component monitors collisions with other Collider Components.

This component is refined to a 2D circle. A point of origin and radius.

Inherited Summary

From class Updateable
public
public
public
public

id: *

public

Cleanup code for when destroying an Updateable.

public

end()

Base call function for when this Updateable is to be ended.

public

onEnd()

Called when the object is being removed or cleaned up from usage.

public

Called when the object is intended to be paused.

public

Called when the the object is first introduced.

public

Called when the object is to be unpaused from paused state.

public

Called on every update within the game, once the object has had onStart called.

public

pause()

Base call function for when this Updateable is to be paused.

public

start()

Base call function for when this Updateable is to be started.

public

Base call function for when this Updateable is to be unpaused.

public

update()

Base call function for when this Updateable is to be updated.

From class Component
public
public
public

Called when the component is successfully added to a GameObject.