Beispiel #1
0
 public DefaultMode(ClientMain game, CamPath path) : base(game, path)
 {
     if (path?.Target?.GetType() == typeof(CamTargetSelf))
     {
         path.Target = null;
     }
 }
Beispiel #2
0
 public CamMode(ClientMain game, CamPath path)
 {
     _path     = path;
     Default   = new DefaultMode(game, path);
     LastPitch = path.Nodes[0].Pitch;
     LastYaw   = path.Nodes[0].Yaw;
     Game      = game;
     Api       = (ICoreClientAPI)game.Api;
 }
Beispiel #3
0
 public override CamMode Initialise(CamPath path)
 {
     return(new DefaultMode(Game, path));
 }
Beispiel #4
0
 public abstract CamMode Initialise(CamPath path);