class Mud::Game::Event

Overview

A game event.

Events are generated as a result of the actions of player and non-player characters.

If an event needs to do something that will block progress, it MUST spawn a Fiber to do this, otherwise the game will grind to a halt.

Defined in:

game/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(finished : Bool = false) #

[View source]

Instance Method Detail

def finished? : Bool #

[View source]
def run #

[View source]