|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MTV3D65;
using IrrKlang;
namespace gefx
{
public class EXVehicaleManager
{
List<EXVehicle> Vozila = new List<EXVehicle>();
public void AddVehicale(string Name,ref gefxs Core,string Path, float Mass,XTModel.ModelType MT, TV_3DVECTOR Position)
{
Vozila.Add(new EXVehicle(ref Core, Path, Name, MT, Mass, Position));
}
public void AddWheels(string Name, ref gefxs Core, string Path, float Mass, XTModel.ModelType MT,float scale1)
{
foreach (EXVehicle V in Vozila)
{
if (V.VehicaleName == Name)
{
V.AddCarWheels(ref Core, Path, MT, Mass, scale1);
}
}
}
public void CheckInputs(TVInputEngine inp,ref TVPhysics p)
{
foreach (EXVehicle V in Vozila)
{
V.CheckInput(inp,ref p);
}
}
public void DrawVehicale()
{
foreach (EXVehicle V in Vozila)
{
V.DrawVehicle();
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.