# NNS_G2dInitializeEntity

## C Specification

      #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. `pDrawStuff` and `pAnimDataBank` must pass values that are appropriate to the `Entity` type. This function will fail in the assert if there is any 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

08/02/2004 Renamed function

05/28/2004 Initial version.