Transaction

1b43de1dce8ac8d19b4800ecec2b3983906840b8c8d0aedd499bd351eecdc3f4
2020-06-11 21:05:51
0.00002725 BSV
(
0.05389763 BSV
-
0.05387038 BSV
)
1,381 sat/KB
1
274,330
1,972 B

2 Outputs

Total Output:
0.05387038 BSV
  • j"1PtSxTXHQVd5PgzCpnBuEsjV1gBs9MhXLUMÂ//loseState.js /** State shown when the player loses! Code by Rob Kleffner, 2011 */ Mario.LoseState = function() { this.drawManager = null; this.camera = null; this.gameOver = null; this.font = null; this.wasKeyDown = false; }; Mario.LoseState.prototype = new Enjine.GameState(); Mario.LoseState.prototype.Enter = function() { this.drawManager = new Enjine.DrawableManager(); this.camera = new Enjine.Camera(); this.gameOver = new Enjine.AnimatedSprite(); this.gameOver.Image = Enjine.Resources.Images["gameOverGhost"]; this.gameOver.SetColumnCount(9); this.gameOver.SetRowCount(1); this.gameOver.AddNewSequence("turnLoop", 0, 0, 0, 8); this.gameOver.PlaySequence("turnLoop", true); this.gameOver.FramesPerSecond = 1/15; this.gameOver.X = 112; this.gameOver.Y = 68; this.font = Mario.SpriteCuts.CreateBlackFont(); this.font.Strings[0] = { String: "Game over!", X: 116, Y: 160 }; this.drawManager.Add(this.font); this.drawManager.Add(this.gameOver); }; Mario.LoseState.prototype.Exit = function() { this.drawManager.Clear(); delete this.drawManager; delete this.camera; delete this.gameOver; delete this.font; }; Mario.LoseState.prototype.Update = function(delta) { this.drawManager.Update(delta); if (Enjine.KeyboardInput.IsKeyDown(Enjine.Keys.S)) { this.wasKeyDown = true; } }; Mario.LoseState.prototype.Draw = function(context) { this.drawManager.Draw(context, this.camera); }; Mario.LoseState.prototype.CheckForChange = function(context) { if (this.wasKeyDown && !Enjine.KeyboardInput.IsKeyDown(Enjine.Keys.S)) { context.ChangeState(new Mario.TitleState()); } };
    https://whatsonchain.com/tx/1b43de1dce8ac8d19b4800ecec2b3983906840b8c8d0aedd499bd351eecdc3f4