StoryMapper

interface StoryMapper

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun chapter(chapter: ChapterDto): ChapterModel
Link copied to clipboard
abstract fun dataModel(storyData: StoryData): StoryDataModel
Link copied to clipboard
open fun isStoryComplete(id: Int, dataModel: StoryDataModel): Boolean
Link copied to clipboard
abstract fun map(map: GameMap): GameMap
abstract fun map(value: Text): Text
abstract fun map(value: Transfer): Transfer
Link copied to clipboard
open fun maps(maps: HashMap<Long, GameMap>): List<GameMap>
Link copied to clipboard
abstract fun paramModel(dto: ParameterDto): ParameterModel
Link copied to clipboard
abstract fun point(point: Point): Point
Link copied to clipboard
abstract fun points(point: List<Point>): List<Point>
Link copied to clipboard
abstract fun spawn(spawn: Spawn): SpawnModel
Link copied to clipboard
abstract fun spawns(spawn: List<Spawn>): List<SpawnModel>
Link copied to clipboard
abstract fun stage(stage: Stage): Stage
Link copied to clipboard
open fun stagesMap(stageMap: Map<String, Stage>): Map<Long, Stage>
Link copied to clipboard
abstract fun story(story: StoryDto): StoryModel
Link copied to clipboard
open fun storyItem(value: List<StoryInfo>, dataModel: StoryDataModel): List<StoryItem>
abstract fun storyItem(value: StoryInfo, dataModel: StoryDataModel): StoryItem