Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 452 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 452 Bytes

General

Using following struct desing for entity.

struct Entity {
	unsigned int id;
	int type;
	void* data;
	void (*process)( Entity* entity, float delta );
	void (*draw)( Entity* entity );
};

alt text

Building

If compiling statically, move libraylib.a to "lib" folder. To build do the usual.

mkdir build
cd build
cmake ..
make