Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Asteroid_HS17/src/modules/asteroids2D/Asteroids2DCube.cc @ 11614

Last change on this file since 11614 was 11614, checked in by vyang, 6 years ago

Asteroids werden random geladen→ collisionShape und Bewegung einstellen

File size: 1.5 KB
Line 
1/*   ORXONOX - the hottest 3D action shooter ever to exist
2 *                    > www.orxonox.net <
3 *
4 *
5 *   License notice:
6 *
7 *   This program is free software; you can redistribute it and/or
8 *   modify it under the terms of the GNU General Public License
9 *   as published by the Free Software Foundation; either version 2
10 *   of the License, or (at your option) any later version.
11 *
12 *   This program is distributed in the hope that it will be useful,
13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *   GNU General Public License for more details.
16 *
17 *   You should have received a copy of the GNU General Public License
18 *   along with this program; if not, write to the Free Software
19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 *
21 *   Author:
22 *      Samuel Riedel
23 *   Co-authors:
24 *      ...
25 *
26 */
27
28/**
29    @file Asteroids2D.cc
30    @brief Implementation of the Asteroids2D class.
31*/
32
33#include "Asteroids2DCube.h"
34#include "Asteroids2D.h"
35#include "core/CoreIncludes.h"
36#include "util/Math.h"
37
38namespace orxonox
39{
40    RegisterClass(Asteroids2DCube);
41
42    Asteroids2DCube::Asteroids2DCube(Context* context) : Pawn(context)
43    {
44        RegisterObject(Asteroids2DCube);
45        this->size = 1;
46        this->width = 1043;
47        this->height = 646;
48        //this->setPosition();
49        //this->setVelocity(Vector3 )
50    }
51
52    void Asteroids2DCube::tick(float dt)
53    {
54        SUPER(Asteroids2DCube, tick, dt);
55       
56
57    }
58
59
60}
Note: See TracBrowser for help on using the repository browser.