1 /*************************************************************************** 2 elbowupleft.h - description 3 ------------------- 4 begin : Thu Aug 17 2000 5 copyright : (C) 2000 by Waldemar Baraldi 6 email : baraldi@lacasilla.com.ar 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License as published by * 13 * the Free Software Foundation; either version 2 of the License, or * 14 * (at your option) any later version. * 15 * * 16 ***************************************************************************/ 17 18 #ifndef ELBOW_UP_LEFT_H 19 #define ELBOW_UP_LEFT_H 20 21 #include "pipe.h" 22 23 class ElbowUpLeft: public Pipe{ 24 25 public: 26 27 ElbowUpLeft(); 28 ~ElbowUpLeft(); 29 30 bool hasConnection(CardinalPoint con); 31 32 CardinalPoint getOutput(CardinalPoint input); 33 34 void restrictAsOutput(CardinalPoint con); 35 36 bool isRestrictedAsOutput(CardinalPoint con); 37 38 void incFullLevel(CardinalPoint input,unsigned int amount); 39 40 int getFullLevel(CardinalPoint input); 41 42 Pointer * getPointer(); 43 44 void paint(VideoManager * vm); 45 }; 46 47 #endif 48 49