# NNS_G2dInitializeEntity

## Syntax

      #include <nnsys/g2d/g2d_Entity.h>

      void NNS_G2dInitializeEntity(
                              NNSG2dEntity*               pEntity,
                              void*                       pDrawStuff,
                              const NNSG2dEntityData*     pEntityData,
                              const NNSG2dAnimBankData*   pAnimDataBank );

## Arguments

`pEntity` | [OUT] Entity
`pDrawStuff` | [IN] Rendering data (`NNSG2dCellAnimation` or `NNSG2dMultiCellAnimation`)
`pEntityData` | [IN] Entity definition data
`pAnimDataBank` | [IN] Animation data bank

## Return Values

None.

## Description

Initializes the entity. The `pDrawStuff` and `pAnimDataBank` arguments must pass values that are appropriate to the `Entity` type. This function fails on assertion if there is input that does not fit these conditions.
The name of this function was changed to `NNS_G2dInitEntity`. This function will remain to maintain compatibility.

## See Also

`NNS_G2dInitEntity`
`NNS_G2dSetEntityCurrentAnimation`

## Revision History

2004/08/02 Renamed function.
2004/05/28 Initial version.

CONFIDENTIAL