# Entity Overview

## Conceptual Diagram

## Description

Entities are defined with the concept of managing and storing information from higher-level layers (user programs) than the cell animation and multicell animation data structures.
Entities are located in the highest-level layer in which data structures are defined internally in G2D. Therefore, in future versions there may be changes to this layer when features of the higher-level layers (user programs) are expanded.

## Internal Data of Entity

Entities contain the following information.

### Pointer to Entity Data

The pointer to the entity data (`.nenr` file) read to the main memory is stored here. Entity data is static—it will not be rewritten.

### Sequence Number Being Played

The sequence number of the animation that is currently playing is stored here. The Animation Sequence Number corresponds to the sequence number of the animation in the entity data designated by the pointer to the entity data.

### Pointer to the Display Data

The pointer to the cell or multicell animation currently being rendered is stored here.

### Pointer to the Color Palette Conversion Table

There may be situations where different characters are expressed by changing the color palette used by the same character so a table exists for converting color palettes. The color palette conversion table specifies which color palette number from the sixteen color palettes it is changed to.

## See Also

None.

## Revision History

2004/12/06 Initial version.

CONFIDENTIAL