|
|
|
@ -8,6 +8,8 @@ import (
|
|
|
|
|
|
|
|
|
|
type door struct {
|
|
|
|
|
*blammo.Log
|
|
|
|
|
to string
|
|
|
|
|
exit int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (d *door) update(time.Duration) {}
|
|
|
|
@ -26,18 +28,45 @@ func (d *door) onStopOverlap(e *entity) {
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
┌──────────┐
|
|
|
|
|
│··········│
|
|
|
|
|
│·····@····│
|
|
|
|
|
│··········│
|
|
|
|
|
│··········│ ┌────────────────────┐
|
|
|
|
|
│··········│ │····················│
|
|
|
|
|
│·····d···◇│--------│◇···················│
|
|
|
|
|
│··········│ │····················│
|
|
|
|
|
│··········│ └────────────────────┘
|
|
|
|
|
│··········│
|
|
|
|
|
│·········◇│
|
|
|
|
|
└──────────┘
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
┌──────────┐
|
|
|
|
|
│··········│
|
|
|
|
|
│·····@····│
|
|
|
|
|
│··········│
|
|
|
|
|
│··········│ ┌────────────────────┐
|
|
|
|
|
│··········│ │····················│
|
|
|
|
|
│·····d····◇--------◇····················│
|
|
|
|
|
│··········│ │····················│
|
|
|
|
|
│··········│ └────────────────────┘
|
|
|
|
|
│··········│
|
|
|
|
|
│·········◇│
|
|
|
|
|
└──────────┘
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
┌──────────┐
|
|
|
|
|
│··········│
|
|
|
|
|
│·····@····│
|
|
|
|
|
│··········│
|
|
|
|
|
│··········│────────────────────┐
|
|
|
|
|
│··········│····················│
|
|
|
|
|
│·····d····◇····················│
|
|
|
|
|
│··········│····················│
|
|
|
|
|
│··········│────────────────────┘
|
|
|
|
|
│··········│
|
|
|
|
|
│··········│ ┌──────┐
|
|
|
|
|
│··········│ │ │
|
|
|
|
|
│··········│ │ │
|
|
|
|
|
│·····d····◇░░░░░░░░◇ │
|
|
|
|
|
│··········│ │ │
|
|
|
|
|
│··········│ │ │
|
|
|
|
|
│··········│ └──────┘
|
|
|
|
|
│··········◇
|
|
|
|
|
│·········◇│
|
|
|
|
|
└──────────┘
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|