Inherits from PXDisplayObjectContainer : PXInteractiveObject : PXDisplayObject : PXEventDispatcher : NSObject
Declared in PXSimpleSprite.h
PXSimpleSprite.m

Overview

A PXSimpleSprite is a concrete display object that can contain children.

Tasks

Class Methods

simpleSpriteWithChild:

A utility method for quickly creating a PXSimpleSprite containing the specified child object.

+ (PXSimpleSprite *)simpleSpriteWithChild:(PXDisplayObject *)child

Parameters

child

A display object to add to the created PXSimpleSprite

Return Value

An autoareleased PXSimpleSprite

Declared In

PXSimpleSprite.m

simpleSpriteWithChildren:

A utility method for quickly creating a PXSimpleSprite containing the specified children objects.

+ (PXSimpleSprite *)simpleSpriteWithChildren:(NSArray *)children

Parameters

children

A list of children to add to the created PXSimpleSprite

Return Value

An autoareleased PXSimpleSprite

Declared In

PXSimpleSprite.m