world.h

cowmud-0.11/src/world.h · 295 B

From the archive cowmud-0.11.tar.gz

Download the archive   « Back to the archive contents

#ifndef _WORLD_H_
#define _WORLD_H_
#include "poly.h"
#include "list.h"

class World {
  public:
    World();
    int Length();
    void Insert(int index, struct Poly * sector);
    void Remove(int index);
    struct Poly *Retrieve(int index);

  private:
    List< Poly * > sectors;
};

#endif

Site Stats

Snippets: 1791
Codebases: 571