summaryrefslogtreecommitdiff
path: root/Runtime/GameCode/DestroyDelayed.h
blob: f017887788464660aa4ddb40250fde797b8dab2e (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef DESTROYDELAYED_H
#define DESTROYDELAYED_H

class Object;

/// Destroys object in time seconds
/// If time is not specified will be destroyed at the end of the frame
void DestroyObjectDelayed (Object* o, float time = -100.0F);

#endif