Add Serializable.ts and KeystrokeAction.ts

This commit is contained in:
László Monda
2016-03-24 20:56:27 +01:00
parent 25b7cad4ab
commit 483053a991
3 changed files with 36 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/// <reference path="UhkBuffer.ts" />
interface Serializable {
fromJsObject(jsObject: any);
toJsObject(): any;
fromBinary(buffer: UhkBuffer);
toBinary(buffer: UhkBuffer);
}