LevelScene class

Constructors

LevelScene({VoidCallback? onStartUp, VoidCallback? update})

Properties

allObjectImage Image?
getter/setter pair
allTileImage Image?
getter/setter pair
brushStyle BrushStyles
getter/setter pair
camera Camera
getter/setter pair
currentSize double?
getter/setter pair
fileName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hoverLocation Offset?
getter/setter pair
isClicked bool
getter/setter pair
isControlPressed bool
getter/setter pair
levelImage Image?
getter/setter pair
levelInfo List<Levels>
getter/setter pair
loaded bool
getter/setter pair
loadedObjects List<LoadedObject>
getter/setter pair
objectHoveringOn SelectedObjects?
getter/setter pair
objectsCopied List<Object>
getter/setter pair
objectTappedOn List<SelectedObjects>
getter/setter pair
onUpdate VoidCallback?
getter/setter pair
prevObjectTappedOn List<SelectedObjects>
getter/setter pair
rayCasting bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedLevel int
getter/setter pair
selectedLoadedObject int?
getter/setter pair
selectedObject SelectedObjects?
getter/setter pair
selectedTile List<SelectedTile>
getter/setter pair
selectedTileLocation int
getter/setter pair
tapLocation Offset?
getter/setter pair
tileSets List<TileImage>
getter/setter pair
updateAnimations bool
getter/setter pair
updateMinMap bool
getter/setter pair

Methods

addLevel() → void
addObject(Object object) → void
bringToFront([int? obj]) → void
clear() → void
clickedObject() List<SelectedObjects>
copy() → void
cut() → void
doesContain(Rect rect, double angle) bool
floodFill() → void
generateMiniMap() → void
hoverObject() SelectedObjects?
importLevels(List<Levels> levels) → void
loadObject(String path, LoadedType type, {bool show = true, List<Rect>? locations, ObjectType? objType, List<String>? names, List<double>? scales}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paste() → void
removeLevel(int level) → void
removeLoadedObject(int location) → void
removeObject(int location, [bool clearTap = true]) → void
removeSelectedObject() → void
removeTileset(List<int> sprite) → void
render(Canvas canvas, Size size) → void
sendToBack([int? obj]) → void
toString() String
A string representation of this object.
inherited
update() → void
updateHoverLocation(Offset details) → void
updateTapLocation(Offset details) → void
updateTileset({required String path, required String name, bool gridUpdate = false, GridType? type, int? gridWidth, int? gridHeight, List<List<Rect>>? collisions}) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited