Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. [0 Component.pm:15] - Generating component inheritance tree.
  2. [0 Component.pm:20] - I'm in entity Thing.
  3. [0 Component.pm:20] - I'm in entity Actor.
  4. [1 Component.pm:20] - I'm in entity Player.
  5. [1 Component.pm:20] - I'm in entity Monster.
  6. [1 Component.pm:20] - I'm in entity Goblin.
  7. [1 Component.pm:74] - Inheritance tree created.
  8. [1 main.pl:46] - Starting game loop.
  9. [1 main.pl:47] - $VAR1 = {
  10. 'commands' => {
  11. 'ExitCommand' => sub { "DUMMY" },
  12. 'MoveCommand' => sub { "DUMMY" }
  13. },
  14. 'actors' => {},
  15. 'entities' => {
  16. 'Monster' => {
  17. 'SpeedComponent' => {
  18. 'speed' => 2
  19. },
  20. 'RenderComponent' => {
  21. 'ascii' => 'M'
  22. },
  23. 'PositionComponent' => {
  24. 'y' => 1,
  25. 'x' => 1
  26. },
  27. 'PhysicsComponent' => {
  28. 'weight' => '10'
  29. }
  30. },
  31. 'Goblin' => {
  32. 'SpeedComponent' => $VAR1->{'entities'}{'Monster'}{'SpeedComponent'},
  33. 'RenderComponent' => $VAR1->{'entities'}{'Monster'}{'RenderComponent'},
  34. 'PositionComponent' => $VAR1->{'entities'}{'Monster'}{'PositionComponent'},
  35. 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'},
  36. 'WeaponComponent' => {
  37. 'name' => 'Dagger',
  38. 'damage' => '1d4'
  39. }
  40. },
  41. 'Thing' => {
  42. 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'}
  43. },
  44. 'Actor' => {
  45. 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'},
  46. 'PositionComponent' => {
  47. 'x' => 0,
  48. 'y' => 0
  49. },
  50. 'SpeedComponent' => {
  51. 'speed' => 0
  52. }
  53. },
  54. 'Player' => {
  55. 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'},
  56. 'RenderComponent' => {
  57. 'ascii' => '@'
  58. },
  59. 'SpeedComponent' => {
  60. 'speed' => 4
  61. },
  62. 'PositionComponent' => {
  63. 'x' => 2,
  64. 'y' => 2
  65. }
  66. }
  67. },
  68. 'is_running' => 1
  69. };
  70. [1000 Command.pm:23] - ExitCommand().
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement