Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

b-engine-gameengine

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b-engine-gameengine - npm Package Compare versions

Comparing version 5.1.6 to 5.1.7

10

dist/audio/audiohandler.d.ts

@@ -21,3 +21,11 @@ import { AudioObject } from './AudioObject';

unpause(id: string): void;
playSpatial(name: string, x: number, y: number, rolloffFactor?: number, refDistance?: number, volume?: number, z?: number): void;
playSpatial(
name: string,
x: number,
y: number,
rolloffFactor?: number,
refDistance?: number,
volume?: number,
z?: number,
): void;
position(x: number, y: number, id: number, z?: number): void;

@@ -24,0 +32,0 @@ rate(rate: number, id: number): void;

2

dist/constants/dataloader.d.ts

@@ -5,3 +5,3 @@ export declare enum DATA_LOADER {

LOAD = 2,
COMPLETE = 3
COMPLETE = 3,
}
export declare enum ENGINE {
SCREEN_RESIZE = "SCREEN_RESIZE"
SCREEN_RESIZE = 'SCREEN_RESIZE',
}
export declare enum GAME_STATE_HANDLER_EVENTS {
ACTIVATE = "ACTIVATE_GAMESTATE",
DEACTIVATE = "DEACTIVATE_GAMESTATE"
ACTIVATE = 'ACTIVATE_GAMESTATE',
DEACTIVATE = 'DEACTIVATE_GAMESTATE',
}

@@ -7,3 +7,3 @@ export declare enum INPUT {

KEY_DOWN = 4,
CONTEXT_MENU = 5
CONTEXT_MENU = 5,
}
export declare enum NETCODE {
MESSAGE = "NETCODE_MESSAGE"
MESSAGE = 'NETCODE_MESSAGE',
}
export declare enum STORE_KEEPER_EVENTS {
PUT = "PUT",
ADD = "ADD",
DELETE = "DELETE"
PUT = 'PUT',
ADD = 'ADD',
DELETE = 'DELETE',
}

@@ -14,3 +14,8 @@ import { SpriteRenderable } from './SpriteRenderable';

_sprite: SpriteRenderable | LigthedSpriteRenderable;
constructor(prefix: string, suffix: string, spriteRenderable: SpriteRenderable | LigthedSpriteRenderable, appendState?: boolean);
constructor(
prefix: string,
suffix: string,
spriteRenderable: SpriteRenderable | LigthedSpriteRenderable,
appendState?: boolean,
);
destroy(): void;

@@ -17,0 +22,0 @@ update(delta: number, gameStateHandler?: GameStateHandler, gameState?: GameState): void;

@@ -12,3 +12,11 @@ import { Texture } from 'pixi.js';

private _texture;
constructor(start: number, end: number, frame: string, state: string, prefix: string, suffix: string, appendState: boolean);
constructor(
start: number,
end: number,
frame: string,
state: string,
prefix: string,
suffix: string,
appendState: boolean,
);
get start(): number;

@@ -15,0 +23,0 @@ get end(): number;

@@ -7,3 +7,12 @@ import { SpriteRenderable } from './SpriteRenderable';

private _backgroundListener;
constructor(name: string, spriteName: string, eventhandler: EventHandler, cover?: boolean, x?: number, y?: number, prefix?: string, anchorCenter?: boolean);
constructor(
name: string,
spriteName: string,
eventhandler: EventHandler,
cover?: boolean,
x?: number,
y?: number,
prefix?: string,
anchorCenter?: boolean,
);
destroy(): void;

@@ -10,0 +19,0 @@ resize(w: number, h: number): void;

@@ -7,4 +7,13 @@ import { BackgroundRenderable } from './BackgroundRenderable';

_hasLights: boolean;
constructor(name: string, spriteName: string, eventhandler: EventHandler, cover?: boolean, x?: number, y?: number, prefix?: string, anchorCenter?: boolean);
constructor(
name: string,
spriteName: string,
eventhandler: EventHandler,
cover?: boolean,
x?: number,
y?: number,
prefix?: string,
anchorCenter?: boolean,
);
create(objectHandler: ObjectHandler): boolean;
}

@@ -15,3 +15,11 @@ /// <reference types="pixi.js" />

private _container;
constructor(name: string, x: number, y: number, normall: PIXI.Texture, spriteName: string, prefix?: string, suffix?: string);
constructor(
name: string,
x: number,
y: number,
normall: PIXI.Texture,
spriteName: string,
prefix?: string,
suffix?: string,
);
create(objectHandler: ObjectHandler): boolean;

@@ -18,0 +26,0 @@ update(delta: number, gameStateHandler?: GameStateHandler, gameState?: GameState): void;

@@ -15,3 +15,11 @@ /// <reference types="pixi.js" />

protected _hasNormall: boolean;
constructor(name: string, x: number, y: number, spriteName?: string, prefix?: string, suffix?: string, anchorCenter?: boolean);
constructor(
name: string,
x: number,
y: number,
spriteName?: string,
prefix?: string,
suffix?: string,
anchorCenter?: boolean,
);
create(objectHandler: ObjectHandler): boolean;

@@ -18,0 +26,0 @@ update(delta: number, gameStateHandler?: GameStateHandler, gameState?: GameState): void;

@@ -7,6 +7,6 @@ import { EventHandler, DispatchManager } from '..';

constructor(eventHandler: EventHandler);
get packetRouter(): import("./PacketRouter").PacketRouter;
get asyncPacketRouter(): import("./PacketRouter").PacketRouter;
get packetRouter(): import('./PacketRouter').PacketRouter;
get asyncPacketRouter(): import('./PacketRouter').PacketRouter;
get dispatchManager(): DispatchManager;
get packetListener(): PacketListener;
}
{
"name": "b-engine-gameengine",
"version": "5.1.6",
"version": "5.1.7",
"description": "A GameEngine for Bisi-dev games",

@@ -52,3 +52,3 @@ "main": "dist/index.js",

},
"gitHead": "b9a9f0bf2439d3532f65231c045acd4e310186f2"
"gitHead": "f29fb9e7976fec5e4255875130cfbc81e4084eec"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc