Up

# STActor class documentation

### Authors

Stefan Urbanek (`urbanek@host.sk`)

Copyright: (C) 2002 Free Software Foundation

# Software documentation for the STActor class

## STActor : NSObject

> Declared in:
>   StepTalk/STActor.h

> Conforms to:
>   NSCoding

Description forthcoming.

Instance Variables
Method summary

- +actorInEnvironment:
- -addMethod:
- -environment
- -initWithEnvironment:
- -methodDictionary
- -methodNames
- -methodWithName:
- -removeMethod:
- -removeMethodWithName:
- -setEnvironment:

### actorInEnvironment:

+ (id) actorInEnvironment: (STEnvironment*)env;

Return new instance of script object without any instance variables

### addMethod:

- (void) addMethod: (id<STMethod>)aMethod;

Description forthcoming.

### environment

- (STEnvironment*) environment;

Description forthcoming.

### initWithEnvironment:

- (id) initWithEnvironment: (STEnvironment*)env;

Description forthcoming.

### methodDictionary

- (NSDictionary*) methodDictionary;

Description forthcoming.

### methodNames

- (NSArray*) methodNames;

Description forthcoming.

### methodWithName:

- (id<STMethod>) methodWithName: (NSString*)aName;

Description forthcoming.

### removeMethod:

- (void) removeMethod: (id<STMethod>)aMethod;

Description forthcoming.

### removeMethodWithName:

- (void) removeMethodWithName: (NSString*)aName;

Description forthcoming.

### setEnvironment:

- (void) setEnvironment: (STEnvironment*)env;

Set object's environment. Note: This method should be replaced by some other, more clever mechanism.

## Instance Variables for STActor Class

### environment

@protected STEnvironment* environment;

Description forthcoming.

### ivars

@protected NSMutableDictionary* ivars;

Description forthcoming.

### methodDictionary

@protected NSMutableDictionary* methodDictionary;

Description forthcoming.

Up