00001 /*************************************************************************** 00002 * Copyright (C) 2005 by the G System Team * 00003 * http://www.g-system.at * 00004 * Copyright (C) 2004 by Gerald Degeneve * 00005 * gerald.degeneve@gmx.at * 00006 * * 00007 * Permission is hereby granted, free of charge, to any person obtaining * 00008 * a copy of this software and associated documentation files (the * 00009 * "Software"), to deal in the Software without restriction, including * 00010 * without limitation the rights to use, copy, modify, merge, publish, * 00011 * distribute, sublicense, and/or sell copies of the Software, and to * 00012 * permit persons to whom the Software is furnished to do so, subject to * 00013 * the following conditions: * 00014 * * 00015 * The above copyright notice and this permission notice shall be * 00016 * included in all copies or substantial portions of the Software. * 00017 * * 00018 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * 00019 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 00020 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.* 00021 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR * 00022 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * 00023 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * 00024 * OTHER DEALINGS IN THE SOFTWARE. * 00025 ***************************************************************************/ 00026 00027 #ifndef GUNIVERSEEXPANSIONAGENTH 00028 #define GUNIVERSEEXPANSIONAGENTH 00029 00030 #include <GAgent.h> 00031 00032 #include <GElementInfluence.h> 00033 00034 #include <GElement.h> 00035 #include <GEnergy.h> 00036 #include <GVector3.h> 00037 00038 00039 namespace GBE 00040 { 00041 00056 class GUniverseExpansionAgent : public GCS::GAgent 00057 { 00058 Q_OBJECT 00059 00060 public: 00061 00065 GUniverseExpansionAgent(); 00066 00070 virtual ~GUniverseExpansionAgent(); 00071 00072 public slots: 00073 00079 virtual void receiveInfluence(const GCS::GElementInfluence& influence); 00080 00088 virtual void initMaxDistance(double maxdistance); 00089 00090 }; 00091 00092 }; 00093 00094 #endif
1.4.7