Module: Spriteset_Map::TilemapPlugin

Included in:
Spriteset_Map
Defined in:
docs/4_Systems_003_Map_Engine.rb

Overview

Plugin adding the Tilemap to the Spriteset_Map

Instance Method Summary collapse

Instance Method Details

#initialize(zone = nil)

Initialize a new Spriteset_Map object

Parameters:

  • zone (Integer, nil) (defaults to: nil) —

    the id of the zone where the player is



501
502
# File 'docs/4_Systems_003_Map_Engine.rb', line 501

def initialize(zone = nil)
end

#load_autotile(filename) ⇒ Texture

Attempt to load an autotile

Parameters:

  • filename (String) —

    name of the autotile

Returns:

  • (Texture) —

    the bitmap of the autotile



506
507
# File 'docs/4_Systems_003_Map_Engine.rb', line 506

def load_autotile(filename)
end