Struct which represents a barrel.
More...
#include <State.h>
Struct which represents a barrel.
◆ Barrel()
Barrel::Barrel |
( |
int |
x_p, |
|
|
int |
y_p |
|
) |
| |
|
inline |
Constructor.
Sets default values for variables
◆ operator==()
bool Barrel::operator== |
( |
const Barrel & |
b | ) |
const |
|
inline |
Determines if barrel is equal to another.
- Parameters
-
- Returns
- Bool variable determining if barrel is equal to another.
Horizontal position of the barrel.
Vertical position of the barrel.
The documentation for this struct was generated from the following file: