![]()  | 
  
    SC2API
    
   An API for AI for StarCraft II 
   | 
 
The ObserverActionInterface corresponds to the actions available in the observer UI. More...
#include <sc2_interfaces.h>
Public Member Functions | |
| virtual void | CameraMove (const Point2D &point, float distance=0.0f)=0 | 
| virtual void | CameraFollowPlayer ()=0 | 
| Makes the observer camera follow the observed player's perspective.  | |
| virtual void | SendActions ()=0 | 
The ObserverActionInterface corresponds to the actions available in the observer UI.
      
  | 
  pure virtual | 
Moves the observer camera to a target location. Will cause the camera to stop following the observed player's perspective.
| point | The 2D world position to target. | 
| distance | Distance between camera and terrain. Larger value zooms out camera. Defaults to standard camera distance if set to 0. | 
      
  | 
  pure virtual | 
This function sends out all batched commands. You DO NOT need to call this function. it is automatically called when stepping the simulation forward.
 1.8.11