Skip to content
Alex Land edited this page Aug 16, 2018 · 1 revision

This data structure contains information relevant to a pellet in the game.

Enums

enum PelletType

Defines the possible pellet types.

Fields

private Circle circle

The circle on a map for the pellet.

private PelletType type

The type of the pellet.

Methods

Pellet(Circle circle, PelletType type)

Constructor. Assigns parameters to their respective fields.

Circle getCircle()

Get the circle belonging to this pellet.

Clone this wiki locally