dxruby_tiled 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd27950429183efee1a4e4d07287721db316cd78
4
- data.tar.gz: 1e244202d39f8042946a6ceb8154df41431cac2f
3
+ metadata.gz: 9fd75c570f011646c94dd2abc14ade3813b7d081
4
+ data.tar.gz: 9024c5a41e222fc873e25c43e8e0b5d946f43282
5
5
  SHA512:
6
- metadata.gz: 7a1a46fb7df4f548a7eb747c6e3fb5dfa821c028a0e20a683adca64f0e6416028300420080695343767b207043dddd2e6456e5db6e07d2be8c911a3d7d9fb131
7
- data.tar.gz: 52429c08c3c4af7b288da425bd7fb458902593b58c6c6ed1d81e06d87333289d43b32384b7b6562fbc4f5dc7d4588faa2d7cd93be192661aacb78df992661694
6
+ metadata.gz: 44b527445b4f91126cf83dacd27fab667990bd143325dfe4de33434b3f8c5e0daec2bc012f10282a43fb45629e82a34acac9aba96411afc44b5c78cdc8245179
7
+ data.tar.gz: 12e74fea4fcfa3e695316692bb4cdcc4c1e09dbbcf58991190d3663a003150b396a2762c0a49dc482316bec64c25d8fade8dec927f3ebe37598ca4b0ef3b08b7
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 TODO: nodai2hITC
3
+ Copyright (c) 2017-2018 TODO: nodai2hITC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  module DXRuby
2
2
  module Tiled
3
3
  class TMEObject < DXRuby::Sprite
4
- attr_reader :object_id, :properties
4
+ attr_reader :id, :properties
5
5
  attr_accessor :name, :type
6
6
 
7
7
  def self.create_from_hash(hash, map = nil)
@@ -40,7 +40,7 @@ module DXRuby
40
40
  super x, y, nil
41
41
  @name = options[:name]
42
42
  @type = options[:type]
43
- @object_id = options[:id]
43
+ @id = options[:id]
44
44
  @width = options[:width]
45
45
  @height = options[:height]
46
46
  @properties = options[:properties]
@@ -174,7 +174,7 @@ module DXRuby
174
174
  attr_accessor :start_time
175
175
 
176
176
  def self.evolve(object)
177
- new_object = self.new(x: object.x, y: object.y, tile: object.tile, id: @object_id)
177
+ new_object = self.new(object.x, object.y, object.tile, id: @id)
178
178
  %w[z angle scale_x scale_y center_x center_y
179
179
  alpha blend shader image target
180
180
  collision collision_enable collision_sync visible offset_sync
@@ -1,5 +1,5 @@
1
1
  module DXRuby
2
2
  module Tiled
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dxruby_tiled
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nodai2hITC
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2018-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dxruby