Logo Search packages:      
Sourcecode: late version File versions  Download package

magnet.h

#ifndef __magnet_h__
#define __magnet_h__

#include "point.h"
#include "square.h"

00007 class magnet
{
 public:
  floatpoint center; 
  magnet()
    {
    };
  magnet(floatpoint);
  void update(float);
};

00018 class magnetpair
{
  magnet magnets[2];
 public:
  float timetolive;
  magnetpair();
  magnetpair(square *, point, char, float);
  void display();
  void update(float);
};

#endif

Generated by  Doxygen 1.6.0   Back to index