-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add entity factories, remove lots of missing implementations
- Loading branch information
Showing
6 changed files
with
228 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Component } from "excalibur"; | ||
import { PluginObject } from "./objects"; | ||
import { Properties } from "./properties"; | ||
|
||
export interface TiledDataComponentOptions { | ||
tiledObject: PluginObject; | ||
// tiledProperties: Properties; | ||
} | ||
export class TiledDataComponent extends Component<'ex.tiled-data'> { | ||
public readonly type = 'ex.tiled-data'; | ||
public tiledObject: PluginObject; | ||
constructor(options: TiledDataComponentOptions){ | ||
super(); | ||
const {tiledObject} = options; | ||
this.tiledObject = tiledObject; | ||
} | ||
} |
Oops, something went wrong.