Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/world_entities/spawning_point.cc @ 6081

Last change on this file since 6081 was 6081, checked in by patrick, 18 years ago

network: spawning point interface definition

File size: 1.3 KB
Line 
1
2/*
3   orxonox - the future of 3D-vertical-scrollers
4
5   Copyright (C) 2004 orx
6
7   This program is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 2, or (at your option)
10   any later version.
11
12### File Specific:
13   main-programmer: Patrick Boenzli
14   co-programmer:
15*/
16
17#include "spawning_point.h"
18
19
20
21/**
22 *  standard constructor
23 */
24SpawningPoint::SpawningPoint (const Vector& absCoordinate)
25{}
26
27
28/**
29 *  constructor
30 */
31SpawningPoint::SpawningPoint (const Vector& position, float frequency, float seed, int classID)
32{
33}
34
35
36/**
37 *  deconstructor
38 */
39SpawningPoint::~SpawningPoint ()
40{}
41
42
43/**
44 *  spawn the entity
45 */
46void SpawningPoint::spawn()
47{}
48
49
50
51/**
52 *  this method is called every frame
53 * @param time: the time in seconds that has passed since the last tick
54 *
55 * Handle all stuff that should update with time inside this method (movement, animation, etc.)
56 */
57void SpawningPoint::tick(float dt)
58{}
59
60
61/**
62 *  the entity is drawn onto the screen with this function
63 *
64 * This is a central function of an entity: call it to let the entity painted to the screen.
65 * Just override this function with whatever you want to be drawn.
66 */
67void SpawningPoint::draw()
68{}
Note: See TracBrowser for help on using the repository browser.