17 lines
311 B
C
17 lines
311 B
C
#pragma once
|
|
#include "type.h"
|
|
|
|
struct Sandbag {
|
|
struct Vec2 pos;
|
|
struct FVec2 spd;
|
|
struct FVec2 rem;
|
|
struct Vec2 dir;
|
|
int hitstun, life, iced, active;
|
|
};
|
|
|
|
void sandbag_init(void);
|
|
void sandbag_update(int frame);
|
|
void sandbag_draw(int frame);
|
|
struct Vec2 sandbag_get_pos(void);
|
|
int sandbag_get_life(void);
|