Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ActorManager

Implements

  • IActorManager

Index

Constructors

constructor

  • new ActorManager(emulator: IMemory, logger: ILogger, helper: IOotHelper, global: IGlobalContext, utils: IUtils): ActorManager

Properties

Private Readonly actor_array_addr

actor_array_addr: number = 0x001c30

Private Readonly actor_next_offset

actor_next_offset: number = 0x124

Private actors_pointers_this_frame

actors_pointers_this_frame: number[] = ...

Private actors_this_frame

actors_this_frame: Map<ActorCategory, ActorBase[]> = ...

emulator

emulator: IMemory

global

global: IGlobalContext

helper

helper: IOotHelper

logger

logger: ILogger

Private Readonly ringbuffer_entry_size

ringbuffer_entry_size: number = 0x10

Private Readonly ringbuffer_index_addr

ringbuffer_index_addr: number = ...

Private Readonly ringbuffer_max

ringbuffer_max: number = 0x100

Private Readonly ringbuffer_start_addr

ringbuffer_start_addr: number = ...

utils

utils: IUtils

Methods

createIActorFromPointer

  • createIActorFromPointer(pointer: number): IActor

getActors

  • getActors(category: ActorCategory): IActor[]

onTick

  • onTick(): void

Generated using TypeDoc