Class FileWatcher

Watch teraflop.components.ObservableFiles for changes where ObservableFile.hotReload is true.

class FileWatcher
  : System ;

Constructors

NameDescription
this (world) Initialize a new FileWatcher.

Properties

NameTypeDescription
name[get] stringThe name of this System.
resources[get] ResourcesRetreive the World's Resources.

Methods

NameDescription
from () Dynamically generate a new System instance given a function.
query () Query the World for Entities containing Components of the given types.
run () Operate this System on Resources and Components in the World.

See Also

teraflop.components.ObservableFile