Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
IAnimatedItem Class Referenceabstract

#include <animated_item.h>

Inheritance diagram for IAnimatedItem:
[legend]

Public Member Functions

virtual ~IAnimatedItem ()=default
virtual bool animationEvent ()=0
 Advances the item's animation by one timer tick.

Constructor & Destructor Documentation

◆ ~IAnimatedItem()

virtual IAnimatedItem::~IAnimatedItem ( )
virtualdefault

Member Function Documentation

◆ animationEvent()

virtual bool IAnimatedItem::animationEvent ( )
pure virtual

Advances the item's animation by one timer tick.

Returns
true while the animation is still running, false once it has finished.

Implemented in AbstractCardItem, ArrowItem, CardItem, PlayerCounter, and TableZone.


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