summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/Mirror.java
blob: a410a18552fe0b8d432557ba074ad611adb4e680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package NET.worlds.scape;

public class Mirror extends Portal {
   public Mirror(float w, float h) {
      super(w, h);
      this.connectTo(this);
      this.flags |= 4;
   }

   public Mirror(float llx, float lly, float llz, float urx, float ury, float urz) {
      super(llx, lly, llz, urx, ury, urz);
      this.connectTo(this);
      this.flags |= 4;
   }

   public Mirror(Point3Temp llc, Point3Temp urc) {
      super(llc, urc);
      this.connectTo(this);
      this.flags |= 4;
   }

   @Override
   public BumpCalc getBumpCalc(BumpEventTemp b) {
      return this.bumpCalc == null ? Rect.standardPlaneBumpCalc : this.bumpCalc;
   }

   public Mirror() {
   }

   @Override
   public boolean handle(BumpEventTemp b) {
      return true;
   }
}