Gridarta Editor
net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference

A BshThread. More...

+ Inheritance diagram for net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

 BshThread (@NotNull final String name, @NotNull final Plugin< G, A, R > plugin, @NotNull final Interpreter interpreter)
 Creates a new instance. More...
 
boolean isSuccess ()
 Returns whether the plugin has been executed successfully. More...
 
void run ()
 

Private Attributes

final Interpreter interpreter
 The Interpreter of this BshThread. More...
 
final Plugin< G, A, R > plugin
 The PluginModel of this BshThread. More...
 
boolean success
 Whether the plugin has been executed successfully. More...
 

Detailed Description

A BshThread.

Author
tchize
Todo:
Document this class.

Definition at line 34 of file BshThread.java.

Constructor & Destructor Documentation

◆ BshThread()

net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.BshThread ( @NotNull final String  name,
@NotNull final Plugin< G, A, R >  plugin,
@NotNull final Interpreter  interpreter 
)

Creates a new instance.

Parameters
namethe name to assign to this thread
pluginthe plugin model for this thread
interpreterthe interpreter for this thread

Definition at line 59 of file BshThread.java.

References net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.interpreter, and net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.plugin.

Member Function Documentation

◆ isSuccess()

boolean net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.isSuccess ( )

Returns whether the plugin has been executed successfully.

Returns
whether the plugin has been executed successfully

Definition at line 80 of file BshThread.java.

References net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.success.

Referenced by net.sf.gridarta.plugin.PluginExecutor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.executePlugin().

+ Here is the caller graph for this function:

◆ run()

void net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.run ( )

Member Data Documentation

◆ interpreter

final Interpreter net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.interpreter
private

◆ plugin

◆ success

boolean net.sf.gridarta.plugin.BshThread< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.success
private

The documentation for this class was generated from the following file: