Files
WrldBox/src/entity.h
swim67667 fded40cbd9
All checks were successful
Build Project / build (ubuntu-latest) (push) Successful in 17m55s
collision/more physics updates
2026-06-27 00:54:11 -04:00

29 lines
365 B
C

#ifndef ENTITY_H
#define ENTITY_H
#include <stdbool.h>
#include "raylib.h"
typedef struct Entity
{
bool active;
bool isPlayer;
bool affectedByGravity;
bool headgrounded;
float mass;
float size;
Vector2 position;
Vector2 velocity;
Vector2 acceleration;
Vector2 force;
Color color;
float drag;
} Entity;
#endif