Last changes: 741aea1d7e5293bdc0e2c95d047ec646e723c8ed
Implemented health and armour bars
There is one class Bar which has three methods - drawing the rects, reducing the health/armour bar, increasing the health/armour bar and the calculations for lowering the health bar's width
When '1' on the keyboard is clicked the health is being reduced
When '2' on the keyboard is clicked the armour is being reduced
Examples:
When there is collision between an enemy's bullet and user_plane the armor bar is being reduced and when it becomes zero, the health bar starts reducing
Last changes: 741aea1d7e5293bdc0e2c95d047ec646e723c8ed