Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/lib/network/synchronizeable.cc @ 5829

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

network: much work on multiplayability, does not yet work

File size: 1015 bytes
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11
12### File Specific:
13   main-programmer: Silvan Nellen
14   co-programmer: ...
15*/
16
17#include "synchronizeable.h"
18#include "netdefs.h"
19
20
21/**
22 *  default constructor
23 */
24Synchronizeable::Synchronizeable()
25{}
26
27/**
28 *  default constructor
29 */
30Synchronizeable::Synchronizeable(const char* name)
31{
32  this->setName(name);
33}
34
35
36/**
37 *  default destructor deletes all unneded stuff
38 */
39Synchronizeable::~Synchronizeable()
40{}
41
42/**
43 *  write data to NetworkStream
44 */
45void Synchronizeable::writeBytes(const byte* data, int length)
46{}
47
48/**
49 *  read data from NetworkStream
50 */
51int Synchronizeable::readBytes(byte* data)
52{}
53
54
55void Synchronizeable::writeDebug() const
56{}
57
58
59void Synchronizeable::readDebug() const
60{}
Note: See TracBrowser for help on using the repository browser.