blob: 1c701a35cc152ac6b3e63dbd113cabd6dc7744e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { Component, ComponentNames, Sprite } from ".";
export class FacingDirection extends Component {
public readonly facingLeftSprite: Sprite;
public readonly facingRightSprite: Sprite;
constructor(facingLeftSprite: Sprite, facingRightSprite: Sprite) {
super(ComponentNames.FacingDirection);
this.facingLeftSprite = facingLeftSprite;
this.facingRightSprite = facingRightSprite;
}
}
|