summaryrefslogtreecommitdiff
path: root/src/graphics/animation.cpp
AgeCommit message (Collapse)Author
2022-11-13Use base constructors to reduce code sizeEkaitz Zarraga
2022-11-13Make animations use runtime polimorphism:Ekaitz Zarraga
Lets us make different animation types but use them interchangeably
2022-11-12Reorganize to make animations easily changeable:Ekaitz Zarraga
Animations now return rectangles so the texture is independent from them and they don't store the sprite either. Many Animations may have the same texture. Changing from one Animation to another is just changing a reference.
2022-11-12First mini-commit that works with a not-included spritesheetEkaitz Zarraga