ScummVM API documentation
Nancy::Action::AssemblyPuzzle::Piece Struct Reference
Inheritance diagram for Nancy::Action::AssemblyPuzzle::Piece:
Nancy::Misc::MouseFollowObject Nancy::RenderObject

Public Attributes

Common::Array< Common::RectsrcRects
 
Common::Array< Common::RectdestRects
 
Common::Rect startRect
 
uint16 correctRotation = 0
 
uint16 layer = 0
 
bool placed = false
 
int curRotation = 0
 
- Public Attributes inherited from Nancy::RenderObject
Graphics::ManagedSurface _drawSurface
 

Additional Inherited Members

- Public Member Functions inherited from Nancy::Misc::MouseFollowObject
virtual void pickUp ()
 
virtual void putDown ()
 
void setZ (uint16 z)
 
void handleInput (NancyInput &input)
 
- Public Member Functions inherited from Nancy::RenderObject
 RenderObject (uint16 zOrder)
 
 RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds)
 
virtual void init ()
 
virtual void registerGraphics ()
 
virtual void updateGraphics ()
 
void moveTo (const Common::Point &position)
 
void moveTo (const Common::Rect &bounds)
 
void setVisible (bool visible)
 
void setTransparent (bool isTransparent)
 
bool isVisible () const
 
void grabPalette (byte *colors, uint paletteStart=0, uint paletteSize=256)
 
void setPalette (const Common::Path &paletteName, uint paletteStart=0, uint paletteSize=256)
 
void setPalette (const byte *colors, uint paletteStart=0, uint paletteSize=256)
 
bool hasMoved () const
 
Common::Rect getScreenPosition () const
 
Common::Rect getPreviousScreenPosition () const
 
Common::Rect convertToLocal (const Common::Rect &screen) const
 
Common::Rect convertToScreen (const Common::Rect &rect) const
 
Common::Rect getBounds () const
 
uint16 getZOrder () const
 
- Protected Member Functions inherited from Nancy::Misc::MouseFollowObject
bool isViewportRelative () const override
 
- Protected Attributes inherited from Nancy::Misc::MouseFollowObject
bool _isPickedUp = false
 
byte _rotation = 0
 
const VIEW_viewportData = nullptr
 
- Protected Attributes inherited from Nancy::RenderObject
bool _needsRedraw
 
bool _isVisible
 
bool _hasMoved
 
uint16 _z
 
Common::Rect _previousScreenPosition
 
Common::Rect _screenPosition
 

The documentation for this struct was generated from the following file: