removed localised and unsynced 'scale' and 'mass' for ActorWithBody, they are now synced with actorvalue

Former-commit-id: d655b499c333011b8e46235fe3312617f673a6ad
Former-commit-id: 6cc9e6aabd69f7ba3e46e6dcba404c41c6130652
This commit is contained in:
Song Minjae
2016-05-01 01:05:37 +09:00
parent b603b044b9
commit 64f9799c67
6 changed files with 39 additions and 21 deletions

View File

@@ -47,7 +47,7 @@ class Hitbox(x1: Double, y1: Double, width: Double, height: Double) {
* *
* @param height
*/
operator fun set(x1: Double, y1: Double, width: Double, height: Double) {
fun set(x1: Double, y1: Double, width: Double, height: Double) {
hitboxStart = Point2d(x1, y1)
hitboxEnd = Point2d(x1 + width, y1 + height)
this.width = width