daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Apr 27th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class widget{
  2.     void draw(){
  3.         ...call draw() on all children
  4.     }
  5. }
  6.  
  7. class window extends widget{
  8.     void draw(){ //override
  9.         //custom window draw
  10.         super.draw(); //widget.draw()
  11.     }
  12. }
RAW Paste Data
Top