Files
reallife-gamemode/ReallifeGamemode.Client/core/rage-mp/game.ts
michael.reiswich 0543775330 Changes on Attachment Manager.
Removed attachment due to failure in attachment manager.
Changed Database to Live Database -> will be changed after Master merge

Add to enteties.ts RageObject and RageObjectPool for Attachment Manager
2021-04-03 16:06:44 +02:00

21 lines
787 B
TypeScript

import { IGame, IUi, IEvents, IPlayerPool, IVehiclePool, IEntityAttachmentPool, IObjectPool } from "../../game";
import RageEvents from "./events";
import RageUi from "./ui";
import { RagePlayerPool, RageVehiclePool, RageEntityAttachmentPool, RageObjectPool } from "./entities";
export default class RageGame implements IGame {
players: IPlayerPool = new RagePlayerPool();
vehicles: IVehiclePool = new RageVehiclePool();
attachments: IEntityAttachmentPool = new RageEntityAttachmentPool();
objects: IObjectPool = new RageObjectPool();
events: IEvents = new RageEvents;
ui: IUi = new RageUi;
wait(ms: number): void {
mp.game.wait(ms);
}
disableDefaultEngineBehaviour(): void {
mp.game.vehicle.defaultEngineBehaviour = false;
}
}