source: abuse/trunk/src/imlib/visobj.h @ 605

Last change on this file since 605 was 605, checked in by Sam Hocevar, 11 years ago

build: fix errors in the makefiles that prevent `make dist' from working.

  • Property svn:keywords set to Id
File size: 632 bytes
RevLine 
[56]1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
[494]4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
[56]5 *
6 *  This software was released into the Public Domain. As with most public
[555]7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
[56]9 */
10
[2]11#ifndef VIS_OBJECT_HPP
12#define VIS_OBJECT_HPP
13
[481]14#include "jwindow.h"
15#include "filter.h"
[2]16
17class visual_object
18{
[605]19public:
20    virtual void draw(image *screen, int x, int y, Filter *f) = 0;
21    virtual int width() = 0;
22    virtual int height() = 0;
23    virtual ~visual_object() { }
24};
[2]25
[605]26#endif
[2]27
Note: See TracBrowser for help on using the repository browser.