public Projectile(Game game, Model model, Vector3 pos, Vector3 vel, GameObjectType targetType) : base(game) { this.model = model; this.pos = pos; this.vel = vel; this.targetType = targetType; squareHitRadius = hitRadius * hitRadius; }
public void Draw(Model model) { foreach (Shape shape in model.shapeList) { Draw(shape); } }