public void Init() { block = new BlockModel(game); fakeP = new FakePlayer(game); lastType = (byte)game.Inventory.HeldBlock; game.Events.HeldBlockChanged += HeldBlockChanged; }
public void Init( Game game ) { this.game = game; block = new BlockModel( game ); fakeP = new FakePlayer( game ); lastType = (byte)game.Inventory.HeldBlock; game.Events.HeldBlockChanged += HeldBlockChanged; }
public void Init(Game game) { this.game = game; block = new BlockModel(game); fakeP = new FakePlayer(game); lastType = game.Inventory.HeldBlock; game.Events.HeldBlockChanged += HeldBlockChanged; game.UserEvents.BlockChanged += BlockChanged; }
public void Init(Game game) { this.game = game; held = new FakePlayer(game); lastBlock = game.Inventory.Selected; game.Events.ProjectionChanged += ProjectionChanged; game.Events.HeldBlockChanged += DoSwitchBlockAnim; game.UserEvents.BlockChanged += BlockChanged; }
public void Init(Game game) { this.game = game; block = new BlockModel(game); block.NoShade = true; held = new FakePlayer(game); game.Events.ProjectionChanged += ProjectionChanged; anim = new HeldBlockAnimation(); anim.Init(game, this); }