nodesystem/include/node2d.h

19 lines
330 B
C
Raw Normal View History

2021-02-07 09:20:41 +00:00
#include"node.h"
#include"types.h"
2021-02-06 12:16:18 +00:00
#include<stdio.h>
2021-02-06 14:20:24 +00:00
#include<stdlib.h>
2021-02-07 07:41:57 +00:00
#include<string.h>
#define _NOD_2D_TYPE "NODE_2D"
2021-02-06 12:16:18 +00:00
2021-02-06 14:20:24 +00:00
typedef struct node_2d{
NOD_Node node;
vector2Di pos;
} NOD_Node2D;
NOD_Node2D *NOD_CreateNode2D(char *name);
2021-02-06 12:16:18 +00:00
void NOD_DestroyNode2D(NOD_Node *node);
2021-02-07 07:41:57 +00:00
vector2Di NOD_GetAbsPosNode2D(NOD_Node2D *node);