package { /** * @author nicoptere */ public class Vector { static public const MAX_SPEED:Number = 5; public var x:Number; public var y:Number; public var vx:Number; public var vy:Number; public var color:uint; public function Vector( x:Number, y:Number, vx:Number, vy:Number, color:uint ) { this.x = x; this.y = y; this.vx = vx; this.vy = vy; this.color = color; } } }