| 1 | /*************************************************************************** |
| 2 | contact.cpp - description |
| 3 | ------------------- |
| 4 | begin : Sat Mar 16 2002 |
| 5 | copyright : (C) 2002 by Michael Bridak |
| 6 | email : [email protected] |
| 7 | $Id: contact.cpp,v 1.4 2003/05/20 17:36:04 mbridak Exp $ |
| 8 | ***************************************************************************/ |
| 9 | |
| 10 | /*************************************************************************** |
| 11 | * * |
| 12 | * This program is free software; you can redistribute it and/or modify * |
| 13 | * it under the terms of the GNU General Public License as published by * |
| 14 | * the Free Software Foundation; either version 2 of the License. * |
| 15 | * . * |
| 16 | * * |
| 17 | ***************************************************************************/ |
| 18 | |
| 19 | #include "contact.h" |
| 20 | |
| 21 | Contact::Contact(){ |
| 22 | //Fill in some inital values |
| 23 | Active=false; //Contact not active |
| 24 | Friend=2; //Unknown alliance |
| 25 | ShipType=1; //Surface contact |
| 26 | } |
| 27 | Contact::~Contact(){ |
| 28 | } |
| 29 | void Contact::UpdateContact(){ |
| 30 | if(Active) UpdateLatLon(); |
| 31 | } |