Mission.h

musicmud-2.1.6/include/Mission.h · 523 B

From the archive musicmud2.1.6.tar.gz

Download the archive   « Back to the archive contents

#ifndef MISSION_H
#define MISSION_H

#include "musicmud.h"

//! the physical representation of a minimission
class Mission : public MudObject {
  friend class MudObject;
  //! add a new object to the mission
  void add(MudObject*);
  //! remove an object from the mission
  void remove(MudObject*);
 public:
  //! the objects associated with this mission
  World<MudObject> mission_objs;
  Mission(const char *);
  ~Mission();
};

//! clean up and delete the given mission
void mission_cleanup(MudObject *mission);

#endif

Site Stats

Snippets: 1791
Codebases: 571