summaryrefslogtreecommitdiff
path: root/include/barrel_data.h
blob: 8c611b765241afdf75cec8691e178d3cb29f1778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "barrel.h"

static Rectangle physicsCollider = {
  .x = NO_OFFSET,
  .y = NO_OFFSET,
  .width = 100,
  .height = 120
};

static Rectangle destRect = {
    .x = -65,
    .y = -140,
    .width = 230,
    .height = 300
};

static Rectangle srcRect = {
  .x = 0,
  .y = 0,
  .width = 32,
  .height = 32
};

static Rectangle srcRectDamaged = {
  .x = 32,
  .y = 0,
  .width = 32,
  .height = 32
};

#define BARREL_REMOVE_TIME 1.0f