mirror of
https://github.com/NoelFB/tiny_link.git
synced 2026-11-10 02:45:14 +08:00
basic components
This commit is contained in:
1 parent
8db43ce18e
commit
4e05170023
20 files changed
+636
-9
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <blah.h>
|
||||
|
||||
using namespace Blah;
|
||||
|
||||
namespace TL
|
||||
{
|
||||
struct Sprite
|
||||
{
|
||||
struct Frame
|
||||
{
|
||||
Subtexture image;
|
||||
float duration;
|
||||
};
|
||||
|
||||
struct Animation
|
||||
{
|
||||
String name;
|
||||
Vector<Frame> frames;
|
||||
};
|
||||
|
||||
String name;
|
||||
Vec2 origin;
|
||||
Vector<Animation> animations;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user