Skip to content

Commit dcaf44d

Browse files
committed
PreRelease v3.0
1 parent 43e7932 commit dcaf44d

8 files changed

Lines changed: 22 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreliased
1+
# PreRelease v3.0
22
- Rewrite in TypeScript
33
- Add SoundPool
44
- Support multiplayer

src/lib/api/Utils/FileWatcher.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils {
25
const File = java.io.File;
36
type File = java.io.File;

src/lib/api/Utils/Logger.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils.Logger {
25
const TAG = "SoundAPI";
36

src/lib/api/Utils/Timer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils {
25
const Thread = java.lang.Thread;
36
type Thread = java.lang.Thread;

src/lib/api/Utils/Updatable.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils {
25
export abstract class Updatable {
36
protected remove: boolean = false;

src/lib/api/Utils/Utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils {
25
const cacheDurstion: Dict<number> = {}
36
function readDuration(file: string) {

src/lib/api/Utils/Vector.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils.Vector {
25
export function getDistance(A: Vector, B: Vector): number {
36
return Math.sqrt(Math.pow(A.x - B.x, 2) + Math.pow(A.y - B.y, 2) + Math.pow(A.z - B.z, 2));

src/lib/api/Utils/Volume.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Don't export namespace
3+
*/
14
namespace Utils {
25
export namespace Volume {
36
const settings_path = FileTools.root + "/games/com.mojang/minecraftpe/options.txt";

0 commit comments

Comments
 (0)