
'ABSTRACT TYPES EXAMPLE
'PARTICLES

type position {}
type angle    {}
type velocity {}
type mass     {}
type counter  {}

type particle
  position p
  angle    a
  velocity v
  mass     m
end type

class particles
  particle*q
  counter c
  method constructor (){}
  method destructor  (){}
  method action      (){}
end class





