Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [0 Component.pm:15] - Generating component inheritance tree.
- [0 Component.pm:20] - I'm in entity Thing.
- [0 Component.pm:20] - I'm in entity Actor.
- [1 Component.pm:20] - I'm in entity Player.
- [1 Component.pm:20] - I'm in entity Monster.
- [1 Component.pm:20] - I'm in entity Goblin.
- [1 Component.pm:74] - Inheritance tree created.
- [1 main.pl:46] - Starting game loop.
- [1 main.pl:47] - $VAR1 = {
- 'commands' => {
- 'ExitCommand' => sub { "DUMMY" },
- 'MoveCommand' => sub { "DUMMY" }
- },
- 'actors' => {},
- 'entities' => {
- 'Monster' => {
- 'SpeedComponent' => {
- 'speed' => 2
- },
- 'RenderComponent' => {
- 'ascii' => 'M'
- },
- 'PositionComponent' => {
- 'y' => 1,
- 'x' => 1
- },
- 'PhysicsComponent' => {
- 'weight' => '10'
- }
- },
- 'Goblin' => {
- 'SpeedComponent' => $VAR1->{'entities'}{'Monster'}{'SpeedComponent'},
- 'RenderComponent' => $VAR1->{'entities'}{'Monster'}{'RenderComponent'},
- 'PositionComponent' => $VAR1->{'entities'}{'Monster'}{'PositionComponent'},
- 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'},
- 'WeaponComponent' => {
- 'name' => 'Dagger',
- 'damage' => '1d4'
- }
- },
- 'Thing' => {
- 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'}
- },
- 'Actor' => {
- 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'},
- 'PositionComponent' => {
- 'x' => 0,
- 'y' => 0
- },
- 'SpeedComponent' => {
- 'speed' => 0
- }
- },
- 'Player' => {
- 'PhysicsComponent' => $VAR1->{'entities'}{'Monster'}{'PhysicsComponent'},
- 'RenderComponent' => {
- 'ascii' => '@'
- },
- 'SpeedComponent' => {
- 'speed' => 4
- },
- 'PositionComponent' => {
- 'x' => 2,
- 'y' => 2
- }
- }
- },
- 'is_running' => 1
- };
- [1000 Command.pm:23] - ExitCommand().
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement