File indexing completed on 2024-04-28 05:43:16
0001 /*************************************************************************** 0002 * Copyright (C) 2003-2004 by David Saxton * 0003 * david@bluehaze.org * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU General Public License as published by * 0007 * the Free Software Foundation; either version 2 of the License, or * 0008 * (at your option) any later version. * 0009 ***************************************************************************/ 0010 0011 #include "reactive.h" 0012 0013 Reactive::Reactive(const double delta) 0014 : Element() 0015 { 0016 m_delta = delta; 0017 } 0018 0019 Reactive::~Reactive() 0020 { 0021 } 0022 0023 void Reactive::setDelta(double delta) 0024 { 0025 m_delta = delta; 0026 updateStatus(); 0027 } 0028 0029 bool Reactive::updateStatus() 0030 { 0031 return Element::updateStatus(); 0032 }