Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KBlocks
Commits
823cd54e
Commit
823cd54e
authored
Jan 09, 2021
by
Julian Helfferich
💬
Browse files
Commit missing file
The last commit missed a newly created file.
parent
22d602fe
Pipeline
#47594
passed with stage
in 3 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Testing/MockSvgItem.h
0 → 100644
View file @
823cd54e
/******************************************************************************
* KBlocks, a falling blocks game by KDE *
* Copyright (C) 2010-2021 Julian Helfferich <julian.helfferich@mailbox.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
******************************************************************************/
#ifndef MOCKSVGITEM_H
#define MOCKSVGITEM_H
#include
"SvgItemInterface.h"
class
MockSvgItem
:
public
SvgItemInterface
{
public:
MockSvgItem
()
:
updateSelfCalled
(
false
)
{
}
virtual
~
MockSvgItem
()
=
default
;
public:
bool
updateSelf
()
override
{
updateSelfCalled
=
true
;
return
true
;
}
void
startOpAnim
()
override
{}
void
stopOpAnim
()
override
{}
void
startPosAnim
(
QPointF
)
override
{}
void
execPosAnim
(
qreal
)
override
{}
void
stopPosAnim
()
override
{}
bool
updateSelfCalled
;
};
#endif //MOCKSVGITEM_H
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment