public DefaultMode(ClientMain game, CamPath path) : base(game, path) { if (path?.Target?.GetType() == typeof(CamTargetSelf)) { path.Target = null; } }
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; }
public override CamMode Initialise(CamPath path) { return(new DefaultMode(Game, path)); }
public abstract CamMode Initialise(CamPath path);