ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Embed: (wiki syntax)

« Back to documentation index

GameObject Class Reference

GameObject Class Reference

GameObject Class. More...

#include <gameobject.h>

Inherited by Boss, Enemy, and Player.

Public Member Functions

void spawn (Point spawn_pos)
 Activates the object at the given postion.

Detailed Description

GameObject Class.

Base class for all objects in the game world.

Author:
Dmitrijs Griskovs
Date:
15/04/2019

Definition at line 13 of file gameobject.h.


Member Function Documentation

void spawn ( Point  spawn_pos )

Activates the object at the given postion.

Parameters:
spawn_possets position of x and y into pos (Point).

Definition at line 19 of file gameobject.h.