poly.h

cowmud-0.11/src/poly.h · 269 B

From the archive cowmud-0.11.tar.gz

Download the archive   « Back to the archive contents

#ifndef _POLY_H_
#define _POLY_H_
#include "line.h"
#include "list.h"

class Poly {
  public:
    Poly();
    int Length();
    void Insert(int index, Line& wall);
    Line Retrieve(int index);
    void Remove(int index);

  private:
    List< Line > walls;
};

#endif

Site Stats

Snippets: 1791
Codebases: 571