Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
Level.cpp File Reference
#include "Level.h"
#include "EnemyShip.h"
#include "Blaster.h"
#include "GameplayScreen.h"

Go to the source code of this file.

Functions

void PlayerShootsEnemy (GameObject *pObject1, GameObject *pObject2)
 
void PlayerCollidesWithEnemy (GameObject *pObject1, GameObject *pObject2)
 

Function Documentation

◆ PlayerCollidesWithEnemy()

void PlayerCollidesWithEnemy ( GameObject * pObject1,
GameObject * pObject2 )

brief Callback function for when the player collides with an enemy.

Definition at line 22 of file Level.cpp.

◆ PlayerShootsEnemy()

void PlayerShootsEnemy ( GameObject * pObject1,
GameObject * pObject2 )

brief Callback function for when the player shoots an enemy.

Definition at line 12 of file Level.cpp.