mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
Finally fixed CIELabUtil's anomaly; apparently past me was dumb fucking perkeleen vittupää
Former-commit-id: 731df40639ccf1463238f70dd615bd1771eee259 Former-commit-id: fdf00fbe30f876731d9d952b2a65f448b90c7913
This commit is contained in:
@@ -5,8 +5,11 @@ import org.dyn4j.geometry.Vector2
|
||||
/**
|
||||
* Created by minjaesong on 16-08-29.
|
||||
*/
|
||||
class ProjectileHoming(type: Int, position: Vector2, velocity: Vector2, luminosity: Int = 0) :
|
||||
ProjectileSimple(type, position, velocity, luminosity) {
|
||||
class ProjectileHoming(
|
||||
type: Int,
|
||||
fromPoint: Vector2, // projected coord
|
||||
toPoint: Vector2, // arriving coord
|
||||
override var luminosity: Int = 0) : ProjectileSimple(type, fromPoint, toPoint, luminosity) {
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user