Brunot
Loading...
Searching...
No Matches
FlipCardAction.cpp File Reference

Action that shrinks an entity horizontally to zero, before changing its sprite and returning it to its normal scale. More...

#include "FlipCardAction.h"
#include "Component/Card.h"
#include "Component/Sprite.h"
#include "Component/Transform.h"
#include "Framework/Entity.h"
Include dependency graph for FlipCardAction.cpp:

Detailed Description

Action that shrinks an entity horizontally to zero, before changing its sprite and returning it to its normal scale.

For best use, change the sprite of the Card to something else after adding this Action

Warning
Should only be used on entities with a Card component, otherwise it will crash
Author
Ori Balashov (ori.b.nosp@m.alas.nosp@m.hov@d.nosp@m.igip.nosp@m.en.ed.nosp@m.u)
Date
2026 / 07 / 24