Home :: PacmanEmulator :: Machine classes

struct PacmanSprite

? ^ 
Pacman sprite properties.

This information is only needed by applications that want to do their own sprite rendering, as the renderVideo() function already draws the sprites.

Source:
arcade.h:36
Author:
Alessandro Scotti
Version:
1.0
See Also:
PacmanMachine::renderVideo

Contents

^ 
EntityTypeScopeShort Description
~PacmanSpritedestructor publicautomatically generated
PacmanSpriteconstructor publicDefault constructor
PacmanSpriteconstructor publicautomatically generated
$anonymous$enum publicDisplay mode constants
colorattribute publicBase color (0=not visible)
modeattribute publicDisplay mode (normal or flipped)
nattribute publicShape (from 0 to 63)
operator =operator publicautomatically generated
xattribute publicX coordinate
yattribute publicY coordinate

destructor ~PacmanSprite

? ^  > 
automatically generated
Source:
arcade.h
Code:
public ~ PacmanSprite ( )

constructor PacmanSprite

? ^  < > 
Default constructor
Source:
arcade.h:47
Code:
public PacmanSprite ( ) : mode ( 0 ) , x ( 0 ) , y ( 0 ) , n ( 0 ) , color ( 0 )

constructor PacmanSprite

? ^  < > 
automatically generated
Source:
arcade.h
Code:
public PacmanSprite ( const PacmanSprite & )

enum $anonymous$

? ^  < > 
Display mode constants
Source:
arcade.h:43
Code:
public enum { Normal = 0x00 ,
FlipY = 0x01 ,
FlipX = 0x02 ,
FlipXY = 0x03 }

attribute color

? ^  < > 
Base color (0=not visible)
Source:
arcade.h:58
Code:
public int color

attribute mode

? ^  < > 
Display mode (normal or flipped)
Source:
arcade.h:50
Code:
public int mode

attribute n

? ^  < > 
Shape (from 0 to 63)
Source:
arcade.h:56
Code:
public int n

operator =

? ^  < > 
automatically generated
Source:
arcade.h
Code:
public PacmanSprite & operator = ( const PacmanSprite & )

attribute x

? ^  < > 
X coordinate
Source:
arcade.h:52
Code:
public int x

attribute y

? ^  < > 
Y coordinate
Source:
arcade.h:54
Code:
public int y

Copyright (c) 1997-2003,2004 Alessandro Scotti. All rights reserved.