Added initial sprite select
@@ -3,6 +3,7 @@ import { connect } from "react-redux";
import * as actions from "../../actions";
import SceneSelect from "../forms/SceneSelect";
import DirectionPicker from "../../components/DirectionPicker";
+import SpriteSheetSelect from "../forms/SpriteSheetSelect";
import { FormField } from "../../components/library/Forms";
class WorldEditor extends Component {
@@ -99,6 +100,15 @@ class WorldEditor extends Component {
onChange={this.onEdit("startDirection")}
/>
</FormField>
+
+ <FormField>
+ <label htmlFor="playerSprite">Player Sprite</label>
+ <SpriteSheetSelect
+ id="playerSprite"
+ value={settings.playerSpriteSheetId}
+ onChange={this.onEdit("playerSpriteSheetId")}
+ />
+ </FormField>
</div>
);
}
