BonfireGameInterface class abstract

Created by

─▄▀─▄▀ ──▀──▀ █▀▀▀▀▀█▄ █░░░░░█─█ ▀▄▄▄▄▄▀▀

Rafaelbarbosatec on 19/11/21

Implementers

Constructors

BonfireGameInterface()

Properties

camera → Camera
no setter
children → ComponentSet
no setter
colorFilter → ColorFilterInterface?
no setter
context → BuildContext
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasLayout → bool
no setter
highestPriority → int
no setter
interface → GameInterface?
no setter
joystick → JoystickController?
no setter
lighting → LightingInterface?
no setter
map → MapGame
no setter
overlays → ActiveOverlaysNotifier
no setter
player → Player?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Vector2
no setter

Methods

add(Component component) → Future<void>
addAll(List<Component> components) → Future<void>
addJoystickObserver(GameComponent target, {bool cleanObservers = false, bool moveCameraToTarget = false}) → void
attackables() → Iterable<Attackable>
collisions() → Iterable<ObjectCollision>
componentsByType<T>() → Iterable<T>
decorations() → Iterable<GameDecoration>
enemies() → Iterable<Enemy>
getValueGenerator(Duration duration, {double begin = 0.0, double end = 1.0, Curve curve = Curves.decelerate, VoidCallback? onFinish, ValueChanged<double>? onChange}) → ValueGeneratorComponent
isVisibleInCamera(GameComponent c) → bool
lightVisible() → Iterable<Lighting>
livingEnemies() → Iterable<Enemy>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseEngine() → void
resumeEngine() → void
screenPositionToWorld(Offset position) → Offset
toString() → String
A string representation of this object.
inherited
visibleAttackables() → Iterable<Attackable>
visibleCollisions() → Iterable<ObjectCollision>
visibleComponents() → Iterable<GameComponent>
visibleComponentsByType<T>() → Iterable<T>
visibleDecorations() → Iterable<GameDecoration>
visibleEnemies() → Iterable<Enemy>
visibleSensors() → Iterable<Sensor>
worldPositionToScreen(Offset position) → Offset

Operators

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